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
3分間でvuls scanとreportできるのかチャレンジ!(200秒チャレンジ)
Search
adachi.ryo
August 27, 2018
Technology
4.4k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
3分間でvuls scanとreportできるのかチャレンジ!(200秒チャレンジ)
https://vuls-jp.connpass.com/event/94790/
Vuls祭り #4
adachi.ryo
August 27, 2018
More Decks by adachi.ryo
See All by adachi.ryo
横断SREがSRE社内留学制度 / Enablingになぜ踏み切ったのか
rvirus0817
0
1.4k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
6.4k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
7k
Findy Team+のSOC2取得までの道のり
rvirus0817
0
6.3k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
6.2k
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
2
9.4k
Amazon Security Lakeを活用したセキュリティログの集約とAIによる可視化の最前線
rvirus0817
0
700
TechBull Membersの開発進捗どうですか!?
rvirus0817
0
2.1k
クラウド脆弱性の傾向とShisho Cloudの活用
rvirus0817
0
340
Other Decks in Technology
See All in Technology
freeeにおける AI を用いた ブラウザ動作確認の自動化の取り組み
freee
PRO
0
190
企画を Software Factory-ready にする——開発が高速になったとき、PdMの仕事はどう変わったか
yachibit
1
260
撮るだけでは終わらない。ソニーが挑むB2Bカメラソリューション開発
sony
0
110
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
220
野良MCPサーバーを排除せよ!MCPサーバーのガバナンス
yukiogawa
1
230
データマネジメント × 法務で作りあげる、 freeeの新しいデータガバナンスへの軌跡
freee
PRO
0
230
フィンテック養成勉強会#68
finengine
0
240
ポケモン対戦を自動で記録して振り返ろう
fufufukakaka
0
310
freeeにおけるSoftware Factory
freee
PRO
0
470
AWSDirectConnectの構築の進め方を整理してみた
masa_my
1
170
ガチで放置できるClaude Code実行環境の作り方.pdf
lamaglama39
5
9.5k
生成AI時代、PMは事業責任者に進化するともっと面白い〜PMだからこそ事業構造を動かせる時代に〜
kakehashi
PRO
0
800
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
Why Our Code Smells
bkeepers
PRO
340
58k
Writing Fast Ruby
sferik
630
63k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
610
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
650
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Abbi's Birthday
coloredviolet
4
10k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Faster Mobile Websites
deanohume
310
32k
Optimizing for Happiness
mojombo
378
71k
Transcript
2018/8/27 VulsࡇΓ #4 ϥϯαʔζגࣜձࣾ 43&ʗ҆ୡྋ ͋ͩͪ Μ 3ؒͰ vuls scanͱreportͰ͖Δͷ͔
νϟϨϯδ!!!
2018/8/27 VulsࡇΓ #4 ࣗݾհ
2018/8/27 VulsࡇΓ #4 ࣗݾհ ɾ҆ୡ ྋ(͋ͩͪΜ) 29sai ɾϥϯαʔζ/SREνʔϜ Πϯϑϥ(AWS)/ੳج൫/PHPόʔδϣϯΞοϓ
ɾBlog:https://blog.adachin.me ɾTwitterɿ@adachin0817 ɾϥδΦ:https://soundcloud.com/ryo-adachi-3 ɾࣗশΤόϯδΣϦετ/ใ/ίϯτϦϏϡʔλʔ ɾVuls৽ػೳ/όάͳͲͷBlog up(20هࣄ)!! ɾVulsRepo initϑΝΠϧରԠ(2017/10) ɾVuls ChatWork௨ରԠ(2018/4)
2018/8/27 VulsࡇΓ #4 ݱࡏVulsؔ࿈Ͱௐ͍ࠪͯ͠Δ͜ͱ
7VMTࡇΓ Install with Ansible(security-automation-with-ansible-2) https://github.com/RVIRUS0817/ansible_vuls security-automation-with-ansible-2 ߏஙͰ͖͕ͨɺvuls scan͕Ͱ͖ͳ͍ͬ
2018/8/27 VulsࡇΓ #4 ϥϯαʔζͰͷVulsӡ༻
7VMTࡇΓ ϥϯαʔζͰ੬ऑੑεΩϟφVulsΛಋೖ͠·ͨ͠!!!! https://engineer.blog.lancers.jp/2018/06/lancers-vuls/ ϥϯαʔζͰͷVulsӡ༻ʹ͍ͭͯಡΜͰ͍ͩ͘͞ʂʂ
2018/8/27 VulsࡇΓ #4 ͱ͍͏Θ͚Ͱ
2018/8/27 VulsࡇΓ #4 ࠓճॳ৺ऀ͚ VulsϋϯζΦϯΛΓ·͢
2018/8/27 VulsࡇΓ #4 ͔͠3Ͱʂʂʂʂ (खಈͰίϐϖ˕/γΣϧଇ☓)
2018/8/27 VulsࡇΓ #4 ͜Ε·͞ʹʂʂʂʂ
2018/8/27 VulsࡇΓ #4 ʮ3ؒͬͯΔʯ
2018/8/27 VulsࡇΓ #4 ▪ࠓճΔ͜ͱ 1.Vuls docker run(ىಈ) 2.ϩʔΧϧϗετΛεΩϟϯ (vuls scan)
3.Slack/ChatWorkʹϨϙʔτ (vuls report) !!
2018/8/27 VulsࡇΓ #4 ͷલʹʂʂʂ
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷ આ໌ͤͯ͞ʂʂ
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌ https://blog.adachin.me/archives/8042 ʮ[docker][dev]Vulsͷ։ൃڥ࡞Γ·͍͍͍͍͍͍ͨͥ͌͠!!ʯ
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌(ڥͱdocker run) https://hub.docker.com/r/tvirus17/vuls_centos7/ ▪Environment ɾCentOS7 ɾgo
version go1.10.1 linux/amd64 ɾvuls v0.4.2 d785fc2 ɾgo-cve-dictionary v0.1.1 c2bcc41 ⇛ ੬ऑੑใͷσʔλΛDBʹऔΓࠐΈཧ͢ΔͨΊͷπʔϧ ɾgoval-dictionary 0b28496 (Alpine,redhat/centos,ubuntu) ⇛ OVAL(Open Vulnerability and Assessment Language)XMLͰͰ͖ͯΔ ϩʔΧϧʹίϐʔͯ͠Ϗϧυ͢Δπʔϧ
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌(docker run) ▪docker pull/docker run $
docker pull tvirus17/vuls_centos7 $ docker run -h "vuls_centos7" -e TZ=Asia/ Tokyo --privileged -d --name vuls_centos7 tvirus17/vuls_centos7 /sbin/init
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌(ઃఆϑΝΠϧ) ▪Vuls files $ docker exec
-it vuls_centos7 bash [root@vuls_centos7 /]# sudo su vuls [vuls@vuls_centos7]# cd [vuls@fc4413dce445 vuls]$ ll vuls total 990580 -rw-rw-r-- 1 vuls vuls 148 Apr 2 19:42 config.toml -rw-r--r-- 1 vuls vuls 918818816 Apr 2 17:57 cve.sqlite3 -rw-r--r-- 1 vuls vuls 32768 Apr 2 19:42 cve.sqlite3-shm -rw-r--r-- 1 vuls vuls 0 Apr 2 18:21 cve.sqlite3-wal -rw-r--r-- 1 vuls vuls 95490048 Apr 2 19:41 oval.sqlite3 drwx------ 1 vuls vuls 4096 Apr 2 19:42 results
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌(config.tomlʹ͍ͭͯ) ▪config.toml [slack] legacyToken = "
"#slack api channel = " "#slackͷνϟϯωϧΛࢦఆ iconEmoji = " "#ֆจࣈ(ͳΜͰ) authUser = " "#vuls-user(ͳΜͰ) [chatwork] room = " " #URL൪߸ apiToken = " " #Apiࢦఆ [servers] #ࠓճϩʔΧϧϗετΛࢦఆ [servers.localhost] host = "localhost" port = "local"
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌(ࣗಈόʔδϣϯΞοϓ) ▪Vuls Update https://blog.adachin.me/archives/8861
2018/8/27 VulsࡇΓ #4 Vuls։ൃڥ(Docker)ͷઆ໌(vuls scan,report) ▪update goval-dictionary $ goval-dictionary
fetch-redhat 5 6 7 ▪vuls scan,vuls report $ vuls scan $ vuls report -format-short-text -format-json -to-slack -to- chatwork -lang=ja -ignore-unfixed -cvss-over=7 Ҏ্!!!!!!
2018/8/27 VulsࡇΓ #4 Γ·ͬͤ!!!!!!! ४උ͠·͢(ͪΐΜ·͛͞ΜλΠϜਤͬͯ)
2018/8/27 VulsࡇΓ #4
2018/8/27 VulsࡇΓ #4 ·ͱΊ ɾҙ֎ͱͰ͖ͨ ɾॳ৺ऀ͞ΜʹΠϝʔδ͕༙͍ͨͣ ɾखಈͰscanͱreportΛ͍͕ͯͨ͠γΣϧܳʹ͢Δͷ͕⭕ https://github.com/RVIRUS0817/shellscripts/blob/master/vuls_script/vuls_autoscan.sh ɾ·ͩ·ͩ։ൃ͠ʹ͍͘ίϯςφ(ϚϯτͰ͖ͳ͍)
ɾdocker-composeͰߏங͢Δʂ ɾΈͳ͞ΜOSS׆ಈ͠Α͏ʂ ɾVulsίϯτϦϏϡʔλʔʹͳΖ͏!!!
2018/8/27 VulsࡇΓ #4 ΤϯδχΞٻΉ!!!!!!!!!!!!!!!!!!!!!!! ɾΤϯδχΞٻΉ!!!!!!!!!!!!!!!!!!! https://www.wantedly.com/companies/lancers/projects
2018/8/27 VulsࡇΓ #4 ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂʂ