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.3k
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
640
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
5.3k
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
6k
Findy Team+のSOC2取得までの道のり
rvirus0817
0
5.4k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
5.9k
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
2
9.1k
Amazon Security Lakeを活用したセキュリティログの集約とAIによる可視化の最前線
rvirus0817
0
570
TechBull Membersの開発進捗どうですか!?
rvirus0817
0
2.1k
クラウド脆弱性の傾向とShisho Cloudの活用
rvirus0817
0
330
Other Decks in Technology
See All in Technology
Omarchy Quattro の日本語設定周り
simosako
2
120
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
120
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
270
なぜSRE・セキュリティは評価されないのか?守りの組織を事業成長エンジンに変えた実践
cscengineer
PRO
3
2.4k
Snowflakeで実現する全社横断の顧客の声(VOC)分析・活用基盤@Snowflake World Tour Tokyo 2026
yuto16
0
130
AI時代におけるプロダクト横断勉強会の設計
zozotech
PRO
0
170
DEFCON_CHV_CTF_Write-up.pdf
bata_24
0
110
Driving AI Adoption Using In-House GPUs to Serve Qwen
po3rin
2
470
When Does a Local Qwen Start to Break
morshoto
0
190
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
280
GoにおけるFFIのこれまでとこれから
goccy
4
1.6k
Reactの設計論
uhyo
13
5.9k
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
560
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
202
76k
Rails Girls Zürich Keynote
gr2m
96
14k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
730
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
Between Models and Reality
mayunak
4
450
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Ethics towards AI in product and experience design
skipperchong
2
370
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 ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂʂ