Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
heyserial — プログラム的に、複数のキーワード、ガジェットチェーン、オブジェクトタイプ、エンコーディング、ルールタイプを使用して、デシリアライゼーション悪用のためのハンティングルールを作成します。 | Kitploit
ツール/GitHubGitHub/mandiant/heyserial
ペイロード生成脆弱性分析エクスプロイトIDS/IPS回避ウェブアプリケーション悪用侵入検知論文と研究学習と教育厳選リソースArchived
GitHubmandiant/heyserial

heyserial

プログラム的に、複数のキーワード、ガジェットチェーン、オブジェクトタイプ、エンコーディング、ルールタイプを使用して、デシリアライゼーション悪用のためのハンティングルールを作成します。

142233年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
リポジトリを見る

HEY SERIAL!

作成者: Alyssa Rahman @ramen0x3f

作成日: 2021-10-27

最終更新日: 2021-12-02

ブログ: https://www.mandiant.com/resources/hunting-deserialization-exploits

このツールとその背後にある研究プロセスの詳細については、弊社ブログをご覧ください。

説明

デシリアライゼーションの悪用に対するハンティングルールを、複数の要素を組み合わせてプログラム的に作成します。

  • キーワード(例:cmd.exe)
  • ガジェットチェーン(例:CommonsCollection)
  • オブジェクトタイプ(例:ViewState、Java、Python Pickle、PHP)
  • エンコーディング(例:Base64、raw)
  • ルールタイプ(例:Snort、Yara)

免責事項

本ツールで生成されたルールは、ハンティング/リサーチ目的であり、高精度なブロック用途には設計されていません。

本番システムに導入する前に、十分にテストしてください。

Yaraルールは主にWebサーバーログのスキャンを目的としています。「オブジェクトプレフィックス」の中には2バイトしかないものもあり、大規模スキャンではやや遅くなる可能性があります。(言い換えれば、すべてをVT Retrohuntにドロップしないでください。)

使い方

ヘルプ: python3 heyserial.py -h

例:

root@kitploit:~
python3 heyserial.py -c 'ExampleChain::condition1+condition2' -t JavaObj
python3 heyserial.py -k cmd.exe whoami 'This file cannot be run in DOS mode'
python3 heyserial.py -k Process.Start -t NETViewState -e base64 "base64+utf16le"

Utils (ユーティリティ)

utils/checkyoself.py

さまざまなサンプルファイルに対してSnortおよびYaraルールの一括テストを自動化するツールです。

使い方: python3 checkyoself.py [-y rules.yara] [-s rules.snort] [-o file_output_prefix] [--matches] [--misses] -d malware.exe malware.pcap

例: python3 checkyoself.py -y rules/javaobj -s rules/javaobj -d payloads/javaobj pcaps --misses -o java_misses

utils/generate_payloads.ps1

YSoSerial.NET v1.34 ペイロード生成。Windows上で./utilsディレクトリから実行します。

  • ソース: https://github.com/pwntester/ysoserial.net
  • ライセンス: ysoserial.net_LICENSE.txt

utils/generate_payloads.sh

YSoSerial ペイロード生成。Linux上で./utilsディレクトリから実行します。

  • ソース: https://github.com/frohoff/ysoserial
  • ライセンス: ysoserial_LICENSE.txt

utils/install_snort.sh

DebianベースのシステムにSnortをインストールするのは少々厄介だったので、インストールメモをここにまとめました。

_自己責任で使用してください。VM内で、最近スナップショットを取った状態で*。*

utils/server.py

127.0.0.1:12345 でHTTPサーバーを起動し、POSTリクエストを受け付けるシンプルなPythonスクリプトです。

テスト用PCAPの生成に便利です。

ライセンス

Copyright (C) 2021 Alyssa Rahman, Mandiant, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: [package root]/LICENSE.txt Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

コントリビューション

HeySerial! の拡張に関する詳細は、開発者ガイド(DEVELOPERS.md)をご覧ください。

先行研究/関連リソース

ツール

  • Deserialization-Cheat-Sheet – @GrrrDog
  • Ysoserial - @frohoff
  • MarshalSec - @frohoff
  • Ysoserial (forked) - @wh1t3p1g
  • Ysoserial.NET および v2ブランチ - @pwntester
  • ViewGen – 0xacb
  • Rogue-JNDI - @veracode-research

脆弱性

  • Log4J (CVE-2021-44228)
  • Exchange (CVE-2021-42321)
  • Zoho ManageEngine (CVE-2020-10189)
  • Jira (CVE-2020-36239)
  • Telerik (CVE-2019-18935)
  • C1 CMS (CVE-2019-18211)
  • Jenkins (CVE-2016-9299)
  • What Do WebLogic, WebSphere, JBoss, Jenkins, OpenNMS, and Your Application Have in Common? This Vulnerability. – @breenmachine, FoxGloveSecurity (2015)

講演・記事

  • PSA: Log4Shell and the current state of JNDI injection - Moritz Bechler (2021)
  • This is Not a Test: APT41 Initiates Global Intrusion Campaign Using Multiple Exploits – Chris Glyer, Dan Perez, Sarah Jones, Steve Miller (2020)
  • Deep Dive into .NET ViewState deserialization and its exploitation – Swapneil Dash (2019)
  • Exploiting Deserialization in ASP.NET via ViewState – Soroush Dalili (2019)
  • Use of Deserialization in .NET Framework Methods and Classes – Soroush Dalili(2018)
  • Friday the 13th, JSON Attacks – Alvaro Muños and Oleksandr Mirosh (2017)
  • Exploiting .NET Managed DCOM – James Forshaw, Project Zero (2017)
  • Java Unmarshaller Security – Moritz Bechler (2017)
  • Deserialize My Shorts – Chris Frohoff (2016)
  • Pwning Your Java Messaging with Deserialization Vulnerabilities – Matthias Kaiser (2016)
  • Journey from JNDI/LDAP Manipulation to Remote Code Execution Dream Land – Alvaro Muños and Oleksandr Mirosh (2016)
  • Marshalling Pickles – Chris Frohoff and Gabriel Lawrence (2015)
  • Are you my Type? Breaking .NET Through Serialization – James Forshaw (2012)
ツールをダウンロード
  • A Spirited Peek into ViewState – Mike Shema (2011)