• Home
  • Become a Hacker
    • Get Started
    • Hacker Mindset
    • Roadmap
    • Simple Setup – Hacker 101
    • Types of Hackers
    • Recommended Courses
  • Boot People Offline
  • Courses
    • All Hacking Courses
    • Cyber Security School
  • CTF
    • Beginners to Advanced Guide
    • Create your own CTF box
    • Field and Resources Guide
    • Platforms & Wargames
    • Tools Used for Solving CTF
    • Writeups
  • Dark Web
    • Beginners Guide
    • Darknet Markets
    • Darkweb 101 (Anonymity Guide)
    • Dark Web OSINT Tools
    • Hacking Forums
    • Latest News
    • Onion Links
  • Hacker Gadgets
  • Hacking Books
  • Tools Directory
Menu
  • Home
  • Become a Hacker
    • Get Started
    • Hacker Mindset
    • Roadmap
    • Simple Setup – Hacker 101
    • Types of Hackers
    • Recommended Courses
  • Boot People Offline
  • Courses
    • All Hacking Courses
    • Cyber Security School
  • CTF
    • Beginners to Advanced Guide
    • Create your own CTF box
    • Field and Resources Guide
    • Platforms & Wargames
    • Tools Used for Solving CTF
    • Writeups
  • Dark Web
    • Beginners Guide
    • Darknet Markets
    • Darkweb 101 (Anonymity Guide)
    • Dark Web OSINT Tools
    • Hacking Forums
    • Latest News
    • Onion Links
  • Hacker Gadgets
  • Hacking Books
  • Tools Directory
Search
Close
  • Home
  • 2018
  • January
  • 9
  • Loki – Simple IOC and Incident Response Scanner

Loki – Simple IOC and Incident Response Scanner

January 9, 2018July 27, 2019 Comments Off on Loki – Simple IOC and Incident Response Scanner
how to use loki scanner indicators of compromise scanner Loki - Simple IOC and Incident Response Scanner loki scanner loki security tool loki tutorial thor ioc scanner thor scans what is ioc scanner

Loki is a free and simple IOC (Indicators of Compromise) scanner, a complete rewrite of main analysis modules of the APT Scanner THOR.

Detection is based on four detection methods:

  • File Name IOC

Regex match on full file path/name

  • Yara Rule Check

Yara signature match on file data and process memory

  • Hash check

Compares known malicious hashes (MD5, SHA1, SHA256) with scanned files

  • C2 Back Connect Check

Compares process connection endpoints with C2 IOCs (new since version v.10)

Additional Checks:
  • Regin filesystem check (via –reginfs)
  • Process anomaly check (based on Sysforensics)
  • SWF decompressed scan (new since version v0.8)
  • SAM dump check
  • DoublePulsar check – tries to detect DoublePulsar backdoor on port 445/tcp and 3389/tcp
  • PE-Sieve process check

The Windows binary is compiled with PyInstaller 2.1 and should run as x86 application on both x86 and x64 based systems.

How-To Run LOKI and Analyse the Reports

Run:

  • Download the latest LOKI version
  • Run it once to retrieve the latest signature base repository
  • Provide the folder to a target system that should be scanned: removable media, network share, folder on target system
  • Right-click on loki.exe and select “Run as Administrator” or open a command line “cmd.exe” as Administrator and run it from there (you can also run LOKI without administrative privileges but some checks will be disabled and relevant objects on disk will not be accessible)

Reports:
  • The resulting report will show a GREEN, YELLOW or RED result line.
  • Please analyze the findings yourself by:
    • uploading non-confidential samples to Virustotal.com
    • Search the web for the filename
    • Search the web for keywords from the rule name (e.g. EQUATIONGroupMalware_1 > search for “Equation Group”)
    • Search the web for the MD5 hash of the sample
    • Search in my customer APT search engine for file names or identifiers
  • Please report back false positives via the Issues section (mention the false positive indicator like a hash and/or filename and the rule name that triggered)
Loki Screenshot

Usage:

loki.exe [-h] [-p path] [-s kilobyte] [-l log-file] [-r remote-loghost]

         [-a alert-level] [-w warning-level] [-n notice-level]

         [--printAll] [--allreasons] [--noprocscan] [--nofilescan]

         [--scriptanalysis] [--rootkit] [--noindicator] [--reginfs]

         [--dontwait] [--intense] [--csv] [--onlyrelevant] [--nolog]

         [--update] [--debug]

Loki - Simple IOC Scanner

optional arguments:
  -h, --help         show this help message and exit

  -p path            Path to scan

  -s kilobyte        Maximum file size to check in KB (default 5000 KB)

  -l log-file        Log file

  -r remote-loghost  Remote syslog system

  -a alert-level     Alert score

  -w warning-level   Warning score

  -n notice-level    Notice score

  --printAll         Print all files that are scanned

  --allreasons       Print all reasons that caused the score

  --noprocscan       Skip the process scan

  --nofilescan       Skip the file scan

  --scriptanalysis   Activate script analysis (beta)

  --rootkit          Skip the rootkit check

  --noindicator      Do not show a progress indicator

  --reginfs          Do check for Regin virtual file system

  --dontwait         Do not wait on exit

  --intense          Intense scan mode (also scan unknown file types and all

                     extensions)

  --csv              Write CSV log format to STDOUT (machine prcoessing)

  --onlyrelevant     Only print warnings or alerts

  --nolog            Don't write a local log file

  --update           Update the signatures from the "signature-base" sub

                     repository

  --debug            Debug output

Update:

LOKI includes a separate updater tool named loki-upgrader.exe or loki-upgrader.py.

usage: loki-upgrader.py [-h] [-l log-file] [--sigsonly] [--progonly] [--nolog]
                        [--debug]

Loki - Upgrader

optional arguments:
  -h, --help   show this help message and exit
  -l log-file  Log file
  --sigsonly   Update the signatures only
  --progonly   Update the program files only
  --nolog      Don't write a local log file
  --debug      Debug output
It allows you to update the compiled loki.exe for Windows and the signature-based sources.
When running loki.exe –update it will create a new upgrader process and exits LOKI in order to replace the loki.exe with the newer one, which would be locked otherwise.

Download Loki

Post navigation

Ethical Hacking & Cyber Security Course : A Complete Package (FREE)
Yasuo – Tool For Detecting Vulnerable & Exploitable 3rd-party Web Applications

Related Articles

DeTTecT – Detect Tactics, Techniques & Combat Threats

- Incident Response
October 15, 2019

DumpsterFire Toolset – Security Incidents In A Box!

- Incident Response
October 4, 2019

SysmonX – An Augmented Drop-In Replacement of Sysmon

- Incident Response
September 6, 2019
hacker gadgets
hacker phone covers

Recent Posts

Shelltropy: hiding malicious shellcode via Shannon encoding

Shelltropy: hiding malicious shellcode via Shannon encoding

June 29, 2022
Third and Final “EastSideHigh” Defendant Pleads Guilty

Third and Final “EastSideHigh” Defendant Pleads Guilty

June 29, 2022
Jwtear - Modular Command-Line Tool To Parse, Create And Manipulate JWT Tokens For Hackers

Jwtear – Modular Command-Line Tool To Parse, Create And Manipulate JWT Tokens For Hackers

June 29, 2022
Nimc2 - A C2 Fully Written In Nim

Nimc2 – A C2 Fully Written In Nim

June 29, 2022
CURL 7.84 released: tool to transfer data from or to a server

CURL 7.84 released: tool to transfer data from or to a server

June 29, 2022
HintInject: embedding shellcode to Hint/Name Table

HintInject: embedding shellcode to Hint/Name Table

June 28, 2022

Social Media Hacking

SocialPath – Track users across Social Media Platforms

SocialPath – Track users across Social Media Platforms

- Social Media Hacking
October 16, 2019October 16, 2019

SocialPath is a django application for gathering social media intelligence on specific username. It checks for Twitter, Instagram, Facebook, Reddit...

SocialScan – Check Email Address and Username Availability on Online Platforms

SocialScan – Check Email Address and Username Availability on Online Platforms

June 17, 2019
Shellphish – Phishing Tool For 18 Social Media Apps

Shellphish – Phishing Tool For 18 Social Media Apps

June 10, 2019July 27, 2019
WhatsApp Hacking using QRLJacking

WhatsApp Hacking using QRLJacking

May 2, 2019May 19, 2019
How to Hack any Facebook Account with Z-Shadow

How to Hack any Facebook Account with Z-Shadow

April 26, 2019June 29, 2020
hacker buffs
ABOUT US

Haxf4rall is a collective, a good starting point and provides a variety of quality material for cyber security professionals.

Our primary focus revolves around the latest tools released in the Infosec community and provide a platform for developers to showcase their skillset and current projects.

COMPANY
  • Contact Us
  • Disclaimer
  • Hacker Gadgets
  • LANC Remastered
  • PCPS IP Puller
  • Privacy Policy
  • Sitemap
  • Submit your Tool
Menu
  • Contact Us
  • Disclaimer
  • Hacker Gadgets
  • LANC Remastered
  • PCPS IP Puller
  • Privacy Policy
  • Sitemap
  • Submit your Tool
Live Chat
RESOURCES
  • Attack Process
  • Become a Hacker
  • Career Pathways
  • Dark Web
  • Hacking Books
  • Practice Your Skills
  • Recommended Courses
  • Simple Setup – Hacker 101
Menu
  • Attack Process
  • Become a Hacker
  • Career Pathways
  • Dark Web
  • Hacking Books
  • Practice Your Skills
  • Recommended Courses
  • Simple Setup – Hacker 101
Get Started
TOOLBOX
  • Anonymity
  • Bruteforce
  • DoS – Denial of Service
  • Information Gathering
  • Phishing
  • SQL Injection
  • Vulnerability Scanners
  • Wifi Hacking
Menu
  • Anonymity
  • Bruteforce
  • DoS – Denial of Service
  • Information Gathering
  • Phishing
  • SQL Injection
  • Vulnerability Scanners
  • Wifi Hacking
Tools Directory

2014 – 2020 | Haxf4rall.com               Stay Connected:

Facebook Twitter Google-plus Wordpress
Please wait...

Join Our Community

Subscribe now and get your free HACKERS HANDBOOK

Don't Worry ! You will not be spammed
SIGN UP FOR NEWSLETTER NOW