├── .gitignore ├── Criteria.md ├── LICENSE ├── README.md ├── samples ├── CARVE │ ├── bftpd │ │ ├── Aggressive │ │ │ └── bftpd │ │ ├── Conservative │ │ │ └── bftpd │ │ ├── Moderate │ │ │ └── bftpd │ │ └── Original │ │ │ └── bftpd │ ├── libcurl │ │ ├── Aggressive │ │ │ └── libcurl.so.4.5.0 │ │ ├── Case Study │ │ │ └── libcurl.so.4.5.0 │ │ ├── Conservative │ │ │ └── libcurl.so.4.5.0 │ │ ├── Moderate │ │ │ └── libcurl.so.4.5.0 │ │ └── Original │ │ │ └── libcurl.so.4.5.0 │ └── libmodbus │ │ ├── Aggressive │ │ └── libmodbus.so.5.1.0 │ │ ├── Conservative │ │ └── libmodbus.so.5.1.0 │ │ ├── Moderate │ │ └── libmodbus.so.5.1.0 │ │ └── Original │ │ └── libmodbus.so.5.1.0 └── CHISEL │ ├── bzip │ ├── bzip2-1.0.5.origin │ └── bzip2-1.0.5.reduced │ ├── chown │ ├── chown-8.2.origin │ └── chown-8.2.reduced │ ├── date │ ├── date-8.21.origin │ └── date-8.21.reduced │ ├── grep │ ├── grep-2.19.origin │ └── grep-2.19.reduced │ ├── gzip │ ├── gzip-1.2.4.origin │ └── gzip-1.2.4.reduced │ ├── mkdir │ ├── mkdir-5.2.1.origin │ └── mkdir-5.2.1.reduced │ ├── rm │ ├── rm-8.4.origin │ └── rm-8.4.reduced │ ├── tar │ ├── tar-1.14.origin │ └── tar-1.14.reduced │ └── uniq │ ├── uniq-8.16.origin │ └── uniq-8.16.reduced └── src ├── GSA.py ├── __init__.py ├── static_analyzer ├── Gadget.py ├── GadgetSet.py ├── GadgetStats.py ├── Instruction.py └── __init__.py └── utility.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/.gitignore -------------------------------------------------------------------------------- /Criteria.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/Criteria.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/README.md -------------------------------------------------------------------------------- /samples/CARVE/bftpd/Aggressive/bftpd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/bftpd/Aggressive/bftpd -------------------------------------------------------------------------------- /samples/CARVE/bftpd/Conservative/bftpd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/bftpd/Conservative/bftpd -------------------------------------------------------------------------------- /samples/CARVE/bftpd/Moderate/bftpd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/bftpd/Moderate/bftpd -------------------------------------------------------------------------------- /samples/CARVE/bftpd/Original/bftpd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/bftpd/Original/bftpd -------------------------------------------------------------------------------- /samples/CARVE/libcurl/Aggressive/libcurl.so.4.5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libcurl/Aggressive/libcurl.so.4.5.0 -------------------------------------------------------------------------------- /samples/CARVE/libcurl/Case Study/libcurl.so.4.5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libcurl/Case Study/libcurl.so.4.5.0 -------------------------------------------------------------------------------- /samples/CARVE/libcurl/Conservative/libcurl.so.4.5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libcurl/Conservative/libcurl.so.4.5.0 -------------------------------------------------------------------------------- /samples/CARVE/libcurl/Moderate/libcurl.so.4.5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libcurl/Moderate/libcurl.so.4.5.0 -------------------------------------------------------------------------------- /samples/CARVE/libcurl/Original/libcurl.so.4.5.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libcurl/Original/libcurl.so.4.5.0 -------------------------------------------------------------------------------- /samples/CARVE/libmodbus/Aggressive/libmodbus.so.5.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libmodbus/Aggressive/libmodbus.so.5.1.0 -------------------------------------------------------------------------------- /samples/CARVE/libmodbus/Conservative/libmodbus.so.5.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libmodbus/Conservative/libmodbus.so.5.1.0 -------------------------------------------------------------------------------- /samples/CARVE/libmodbus/Moderate/libmodbus.so.5.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libmodbus/Moderate/libmodbus.so.5.1.0 -------------------------------------------------------------------------------- /samples/CARVE/libmodbus/Original/libmodbus.so.5.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CARVE/libmodbus/Original/libmodbus.so.5.1.0 -------------------------------------------------------------------------------- /samples/CHISEL/bzip/bzip2-1.0.5.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/bzip/bzip2-1.0.5.origin -------------------------------------------------------------------------------- /samples/CHISEL/bzip/bzip2-1.0.5.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/bzip/bzip2-1.0.5.reduced -------------------------------------------------------------------------------- /samples/CHISEL/chown/chown-8.2.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/chown/chown-8.2.origin -------------------------------------------------------------------------------- /samples/CHISEL/chown/chown-8.2.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/chown/chown-8.2.reduced -------------------------------------------------------------------------------- /samples/CHISEL/date/date-8.21.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/date/date-8.21.origin -------------------------------------------------------------------------------- /samples/CHISEL/date/date-8.21.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/date/date-8.21.reduced -------------------------------------------------------------------------------- /samples/CHISEL/grep/grep-2.19.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/grep/grep-2.19.origin -------------------------------------------------------------------------------- /samples/CHISEL/grep/grep-2.19.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/grep/grep-2.19.reduced -------------------------------------------------------------------------------- /samples/CHISEL/gzip/gzip-1.2.4.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/gzip/gzip-1.2.4.origin -------------------------------------------------------------------------------- /samples/CHISEL/gzip/gzip-1.2.4.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/gzip/gzip-1.2.4.reduced -------------------------------------------------------------------------------- /samples/CHISEL/mkdir/mkdir-5.2.1.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/mkdir/mkdir-5.2.1.origin -------------------------------------------------------------------------------- /samples/CHISEL/mkdir/mkdir-5.2.1.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/mkdir/mkdir-5.2.1.reduced -------------------------------------------------------------------------------- /samples/CHISEL/rm/rm-8.4.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/rm/rm-8.4.origin -------------------------------------------------------------------------------- /samples/CHISEL/rm/rm-8.4.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/rm/rm-8.4.reduced -------------------------------------------------------------------------------- /samples/CHISEL/tar/tar-1.14.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/tar/tar-1.14.origin -------------------------------------------------------------------------------- /samples/CHISEL/tar/tar-1.14.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/tar/tar-1.14.reduced -------------------------------------------------------------------------------- /samples/CHISEL/uniq/uniq-8.16.origin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/uniq/uniq-8.16.origin -------------------------------------------------------------------------------- /samples/CHISEL/uniq/uniq-8.16.reduced: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/samples/CHISEL/uniq/uniq-8.16.reduced -------------------------------------------------------------------------------- /src/GSA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/src/GSA.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | # Source directory for the gadget analyzer. 2 | -------------------------------------------------------------------------------- /src/static_analyzer/Gadget.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/src/static_analyzer/Gadget.py -------------------------------------------------------------------------------- /src/static_analyzer/GadgetSet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/src/static_analyzer/GadgetSet.py -------------------------------------------------------------------------------- /src/static_analyzer/GadgetStats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/src/static_analyzer/GadgetStats.py -------------------------------------------------------------------------------- /src/static_analyzer/Instruction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/src/static_analyzer/Instruction.py -------------------------------------------------------------------------------- /src/static_analyzer/__init__.py: -------------------------------------------------------------------------------- 1 | # static analyzer classes 2 | -------------------------------------------------------------------------------- /src/utility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelbrownuc/GadgetSetAnalyzer/HEAD/src/utility.py --------------------------------------------------------------------------------