Skip to content

Te-k/analyst-scripts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 21, 2023 14:43
March 21, 2023 14:43
March 21, 2023 14:40
doc
November 6, 2020 17:27
elf
April 2, 2020 01:42
March 9, 2021 15:35
December 14, 2021 14:54
March 21, 2023 14:43
September 23, 2020 22:50
September 23, 2020 22:50
December 5, 2020 22:13
June 29, 2023 18:33
April 24, 2020 15:50
September 6, 2023 14:14
pe
December 5, 2022 11:36
pt
February 26, 2021 13:47
November 30, 2020 01:13
November 30, 2020 01:13
April 26, 2022 19:19
October 16, 2019 11:02
web
November 15, 2023 01:32
November 24, 2016 18:15
September 23, 2020 22:50
February 21, 2020 21:47
February 28, 2018 15:24
April 24, 2020 15:50

analyst-scripts

Random script I needed at least once for investigations or tests. Mostly python 3 compliant but maybe not. Old and new, useless and useful. If you like that, you may like Harpoon or pe.

Feel free to open issues if you have any question.

Main Folder

  • clamav_to_yara.py : Convert ClamAV signature to Yara (from the Malware Analyst's Cookbook)
  • cloudcidrs.py : check if an IP is part of a Cloud provider range (for now, only Google Cloud and Amazon AWS, inspired from cloudcidrs)
  • disassemble.py : disassemble a binary file using Capstone (mostly for shellcode)
  • csv_extract.py : extract a column from a csv file
  • hostnametoips.py : resolve a list of hostnames in a text files and return list of uniq IPs
  • infect.sh : classic script to create an encrypted zip of a file with password infected (password used to share malware)
  • mqtt-get.py : basic script to do get requests to an MQTT service
  • parsejpeg.py : Analyze JPEG headers of a file
  • parsepng.py : Analyze a PNG file looking for weird things
  • scrdec18.c : An old code still useful to decode .jse files (MS Jscript encoded), by MrBrownStone (website archive, source code)

Subfolder

  • android : Android stuff (surprising !)
  • bitly : bit.ly tools
    • bitly.py : basic tool to request the bit.ly API
  • censys : scripts using the censys.io API
    • censyscerts.py : Search for certificates
    • censyscompare.py : Compare several Censys hosts
    • censysip.py : Search in censys IP database
    • censysipentries.py : Display information on an IPv4
    • censyslib.py a file to reuse the function to get the API key from ~/.censys
  • certs : scripts to deal with certificates and CT dbs
    • get_crtsh_subdomains.py: list subdomains of a domain based on crt.sh data
    • listcerts.py list certificates from a domain in crt.sh using pycrtsh
  • email : scripts to handle emails
  • forensic : forensic related scripts
    • filetimeline.py : get a list of files in a folder with their change time, modification time and birth time using stat (which does not give the creation time even if the file system has it)
    • mactime.py : convert this list of files into a csv timeline
  • format : convert files in different formats
    • csv2md.py : convert a csv file to a markdown table
    • extract_ttld.py : extract the TLDs from a list of domains
    • punycode.py : convert a punycode domain to its encoded form
  • ghidra_scripts : scripts for ghidra
  • goo.gl : playing with the now deprecated goo.gl API
    • api.py : API and CLI tool to query Google URL shortener goo.gl (soon deprecated by Google)
  • harpoon-extra : some scripts expanding Harpoon features
  • web : Web stuff (mostly outdated)
  • macos : Mac OSX related scripts
  • misp : some scripts helping using MISP servers
  • network : network related scripts
  • ooni : OONI API scripts
  • osint : open source intelligence scripts
  • pe : PE scripts (most of them moved to PE)
  • pt : scripts using Passive Total API
  • resources : interesting infosec resources
  • shodan : shodan.io scripts
  • threats : threat intelligence scripts
  • twilio : scripts related to Twilio
  • twitter : Twitter stuff
  • visualization : nice graphs everywhere