×
Vuls × Deep Security
Try to clear up high urgency vulnerability
Kazuki Nagasawa
09/26/2016
@Future Architect Inc.
Who am I ?
Kazuki Nagasawa
• Network and server engineer
at Future Architect, Inc.
フューチャーアーキテクト所属インフラエンジニア
(ほぼセールスエンジニアな、ITコンサルタント)
• Twitter : @kray0630
• github : kn0630
Vuls × Deep Security
Try to clear up high urgency vulnerability
Deep Security保護下でも残存する、
緊急度の高い脆弱性がサクッとわからないか試してみました。
With Vuls
Vulsで できること
Vulnerability in OS
(Linux,FreeBSD)
Vulnerability in some
middleware
Vulnerability in
some software
①Scan
Vulnerability management
before attacked
スキャン結果を元に対策することができる
The list of vulnerability scanned
②Output
With Deep Security
Deep Securityで できること
Vulnerability in OS
(Linux,FreeBSD)
Vulnerability in some
middleware
Vulnerability in
some software
Attack
Vulnerability management
when attacked
事前に設定された内容で、被攻撃時に自動的に防御することができる
Block
The list of vulnerability to block
With Vuls and Deep Security
VulsとDeep Securityを組み合わせると…
Vulnerability in OS
(Linux,FreeBSD)
Vulnerability in some
middleware
Vulnerability in
some software
Have to check which vulnerability
is not to be blocked
VulsのScan結果全てが、対策に急を要すものかは確認が必要となる
Attack Block
Same?
The list of vulnerability to block
The list of vulnerability scanned
The list of vulnerability to block
With Vuls and Deep Security
VulsとDeep Securityを組み合わせると…
Vulnerability in OS
(Linux,FreeBSD)
Vulnerability in some
middleware
Vulnerability in
some software
Have to check which vulnerability
is not to be blocked
VulsのScan結果全てが、対策に急を要すものかは確認が必要となる
Attack Block
The list of vulnerability scanned
Same?Let's check easily!!
サクッとチェックしちゃいましょう!
PythonSDK
For Deep Security APIs
The list of vulnerability to block
How to do
で、どういうことをやったのか
Vulnerability in OS
(Linux,FreeBSD)
Vulnerability in some
middleware
Vulnerability in
some software
The list (JSON format) of
vulnerability scanned
②Get the list of
all target to block with API
API経由でDSから保護可能リストを取得
①Get the list of
Vulnerability scanned
Vulsのスキャン結果を取得
※Python SDK for Deep Security APIs
https://github.com/deep-security/deep-security-py
③Compare two lists,
and output result
2つのリストを比較
Output
出力結果はこんなかんじ
①
②
③
① The list of vulnerability scanned by Vuls
Vulsでスキャンした結果の脆弱性リスト
② The number and severity of vulnerability
that blocked by Deep Security
Vulsスキャン結果の中で、Deep Securityで保護できるものとその深刻度
③ The number and severity of vulnerability
that not to be blocked by Deep Security
Vulsスキャン結果の中で、Deep Securityで保護できないものとその深刻度
Summary
まとめ
① With Deep Security API and Vuls,
we can check high urgency vulnerability
Deep Security APIの取得結果とVulsの出力結果から、対象の環境における
緊急度の高い脆弱性もわかる。
② Probably,Vuls can cooperate with other products in
the same way
Vulsと他のセキュリティ製品の組み合わせも、同じように連携できそう。
③ Deep Security APIs are surely convenient
Deep Security APIはめっちゃ便利。
※どうやら色々できそう。現状のポリシ設定も加味して・・・、とかしてみたい。
Thank you all for listening ! :)
Source code is available at Github
https://github.com/kn0630/vulssimulator_ds
※It’s refer to “deep-security/amazon-inspector”
https://github.com/deep-security/amazon-inspector

Vuls×deep security

  • 1.
    × Vuls × DeepSecurity Try to clear up high urgency vulnerability Kazuki Nagasawa 09/26/2016 @Future Architect Inc.
  • 2.
    Who am I? Kazuki Nagasawa • Network and server engineer at Future Architect, Inc. フューチャーアーキテクト所属インフラエンジニア (ほぼセールスエンジニアな、ITコンサルタント) • Twitter : @kray0630 • github : kn0630
  • 3.
    Vuls × DeepSecurity Try to clear up high urgency vulnerability Deep Security保護下でも残存する、 緊急度の高い脆弱性がサクッとわからないか試してみました。
  • 4.
    With Vuls Vulsで できること Vulnerabilityin OS (Linux,FreeBSD) Vulnerability in some middleware Vulnerability in some software ①Scan Vulnerability management before attacked スキャン結果を元に対策することができる The list of vulnerability scanned ②Output
  • 5.
    With Deep Security DeepSecurityで できること Vulnerability in OS (Linux,FreeBSD) Vulnerability in some middleware Vulnerability in some software Attack Vulnerability management when attacked 事前に設定された内容で、被攻撃時に自動的に防御することができる Block The list of vulnerability to block
  • 6.
    With Vuls andDeep Security VulsとDeep Securityを組み合わせると… Vulnerability in OS (Linux,FreeBSD) Vulnerability in some middleware Vulnerability in some software Have to check which vulnerability is not to be blocked VulsのScan結果全てが、対策に急を要すものかは確認が必要となる Attack Block Same? The list of vulnerability to block The list of vulnerability scanned
  • 7.
    The list ofvulnerability to block With Vuls and Deep Security VulsとDeep Securityを組み合わせると… Vulnerability in OS (Linux,FreeBSD) Vulnerability in some middleware Vulnerability in some software Have to check which vulnerability is not to be blocked VulsのScan結果全てが、対策に急を要すものかは確認が必要となる Attack Block The list of vulnerability scanned Same?Let's check easily!! サクッとチェックしちゃいましょう!
  • 8.
    PythonSDK For Deep SecurityAPIs The list of vulnerability to block How to do で、どういうことをやったのか Vulnerability in OS (Linux,FreeBSD) Vulnerability in some middleware Vulnerability in some software The list (JSON format) of vulnerability scanned ②Get the list of all target to block with API API経由でDSから保護可能リストを取得 ①Get the list of Vulnerability scanned Vulsのスキャン結果を取得 ※Python SDK for Deep Security APIs https://github.com/deep-security/deep-security-py ③Compare two lists, and output result 2つのリストを比較
  • 9.
    Output 出力結果はこんなかんじ ① ② ③ ① The listof vulnerability scanned by Vuls Vulsでスキャンした結果の脆弱性リスト ② The number and severity of vulnerability that blocked by Deep Security Vulsスキャン結果の中で、Deep Securityで保護できるものとその深刻度 ③ The number and severity of vulnerability that not to be blocked by Deep Security Vulsスキャン結果の中で、Deep Securityで保護できないものとその深刻度
  • 10.
    Summary まとめ ① With DeepSecurity API and Vuls, we can check high urgency vulnerability Deep Security APIの取得結果とVulsの出力結果から、対象の環境における 緊急度の高い脆弱性もわかる。 ② Probably,Vuls can cooperate with other products in the same way Vulsと他のセキュリティ製品の組み合わせも、同じように連携できそう。 ③ Deep Security APIs are surely convenient Deep Security APIはめっちゃ便利。 ※どうやら色々できそう。現状のポリシ設定も加味して・・・、とかしてみたい。
  • 11.
    Thank you allfor listening ! :) Source code is available at Github https://github.com/kn0630/vulssimulator_ds ※It’s refer to “deep-security/amazon-inspector” https://github.com/deep-security/amazon-inspector

Editor's Notes

  • #3 まずは自己紹介です。 ネットワークやサーバの面倒を見ているインフラエンジニアです。 といいつつ、どちらかというと技術の人ではなく、 セールスエンジニアのようなお客様とやりとりしてなんぼなITコンサルタントやってます。 では、さっそくですが本題に入ります。
  • #4 DeepSecurityとVulsを使って、 DeepSecurity保護化でも残存するような緊急度の高い脆弱性がサクッとわからないか試してみましたので、 そちらを共有します。
  • #5 まずは、おさらいになってしまいますが、みんな大好きVuls。 Vulsでできることは、脆弱性をスキャンし、その対象を出力することであり、 要するにスキャン結果を元に脆弱性対策につなげられるといったところだと思っています。
  • #6 一方、こちらもみんな大好きDeepSecurity。 DeepSecurityでできることは、 事前に定義された内容に基づき、脆弱性をついた攻撃に対して防御することだと思っています。
  • #7 じゃあ、みんな大好きな二つを組み合わせたらどうなるのかというところなのですが、 せっかくDeepSecurityで防ぐことができている脆弱性も、Vulsで検知されてしまいます。 どれが本当にやばい脆弱性かチェックするのも面倒だなぁ。。。 大好きな二つのツールなのに、相性が悪いようで残念だなぁ。。。 なんて諦めるのもなんなので、
  • #8 サクッとチェックするツールを作ってみました。
  • #9 何をしたのかというと、至極単純です。 まず、Vulsで脆弱性リストを取得します。 次に、DeepSecurityには便利なAPIがあるので、 そちらを叩いてDeepSecurity保護下に置くことができる脆弱性リストをひっぱってきます。 あとは、これらを比較するだけです。
  • #10 こうしてできた二つのツールの愛の結晶がこちらです。 Vulsでスキャンした結果の脆弱性リストに加え、 その中でDeepSecurityで保護できるものの数とその深刻度別の数、 逆に保護できないやばいやつらの数とその深刻度の数を出力することができました。
  • #11 ということで、まとめです。 1つ目として、非常に簡単なコードで、DeepSecurity配下でも危険なものがなにかといったことを 明らかにすることができました。 2つ目に、多分、同じように、Vulsと皆様の好きなセキュリティ製品を連携できそうです。 丸投げですが、色々やってみてください。 最後に、DeepSecurityのAPIは、色々できそうです。 現状のDeepSecurityのポリシ設定と比較して云々とかできたらいいなぁと思ったりしてます。
  • #12 以上で私のセッションはおわります。ご清聴ありがとうございました。 ソースはGithubにあげていますので、良かったらご覧ください。 では、引き続きVuls祭り、最後までお楽しみください。