Redscale is a repository for Threat Intel indicators.
It is based on the STIX 2.1 format.
Redscale enables ingestion of single or bulk indicators using a web form, or by uploading a STIX JSON file.
Indicators can be exported in Splunk ES Threat Intelligence CSV format for upload into Splunk.
Redscale is a web server PowerShell script that runs on vanilla Windows, access is via a web browser.
Note: Lowercase field names are taken from the STIX 2.1 specification.
ExecutionPacketZero is a 3D network monitor, displaying hosts and packet traffic. Features include support for multiple sensors (sensor0), analysis of packets to gather hostnames and services, configurable layout of subnetworks, recording/replaying of packet traffic, and the ability to filter packets by hosts, protocol or port.
sensor0 is a packet capture agent which reads and sends packet header information to PacketZero, locally or remotely. sensor0 also equates hostname to IP by reading DNS packets (UDP type A class IN standard query response). Multiple sensors can send information to multiple computers running PacketZero on the same subnet via broadcast.
DownloadsStarting order does not matter, however if sensor0 is running and PacketZero is not, ICMP Port Unreachable (UDP port 6333) may be generated.
sensor0 [-i <interface/file>] [-s <id>] [-h <destination>] [-u <port>] [-p] [-d]
-i <interface> - Listen on interface (en0, eth1, ppp0, wlan0, etc.); or
<file> - Read packets from pcap file. Standard input is used if file is "-".
-s <id> - Identify packets from a specific sensor when multiple exist (1-255, default 1).
-h <destination> - PacketZero IP or broadcast address (default localhost).
-u <port> - PacketZero UDP port (default 6333).
-p - Enable promiscuous mode.
-d - Run as daemon.
sensor0.exe [[[<id>] <destination>] <port>] [-p]
<id> - Identify packets from a specific sensor when multiple exist (1-255, default 1).
<destination> - PacketZero IP or broadcast address (default localhost).
<port> - PacketZero UDP port (default 6333).
-p - Enable promiscuous mode.
Data Files - PacketZero
Created in directory:
Files:
If a host is not a member of any net position entries, it is placed in the Grey Zone. If a host is a member of multiple net position entries, the first entry is used. Line format for net position entries is "pos net x-position y-position z-position colour", eg. "pos 123.123.123.123/32 10 0 -10 green".
Positions:
Colours:
If sudo is required to start/stop a local sensor, the user starting sensor0 must be in /etc/sudoers. The default command to stop a local sensor is "killall sensor0", which will kill all sensor0 processes. Add the following to /etc/sudoers, replacing <user> with the required username:
<user> ALL=(root) NOPASSWD: /usr/local/bin/sensor0 <user> ALL=(root) NOPASSWD: /usr/bin/killallControls - PacketZero
Press H key in PacketZero to show controls.
Notes
Logalysis is a Security Information Manager with built-in log/pcap analysis tools.
The back-end is HTML/PHP/MySQL based (a simple LAMP server is required) with the clients connecting using Mozilla Firefox or Google Chrome browsers.
Incidents can be generated automatically from network events, or created from the real-time section which lists current events occurring in your network.
Displayed log entries can be dynamic, containing links to other data, to allow quicker analysis.
Generated pcaps can be broken into sessions and their text displayed using tcpflow, or Foremost can be used for data carving.
Logalysis is plug-in based allowing log, pcap, chart, and report generation to be customised to the appliances within your network. Plug-ins are simple to write allowing your security team to expand the system's capability.
Some honeypot tools which you may find useful:
Laconic is a simple multi-threaded web server, which logs all requests for analysis. By default, it contains code for a web shell and ability to open a firewall port.
DownloadsLaconic Log Splunk Field Extraction:
^(?:[^\s\n]*\s){3}(?P[^:]+):(?P\d+)\->(?P[^:]+):(?P\d+)\s(?P\d+)\s"(?P[^\s]+)\s(?P[^"]+)"\s"(?P[^"]+)"\s"(?P[^"]+)"\s"(?P[^"]+)"\s(?P\d{3})\s(?P\d+)?
Smurt acts like a SMTP MTA, which logs all transfers for analysis.
DownloadsSmurt Log Splunk Field Extraction:
^(?:[^\s\n]*\s){3}(?P[^:]+):(?P\d+)\->(?P[^:]+):(?P\d+)\s(?P\d+)\s"(?P[^"]+)"\s"(?P[^"]+)"\s"(?P[^"]+)"\s(?P\d+)?
Bluffer is a Network Service Imitator which attempts to extract the network activity from malware. Once the network activity of the malware is known, logs can be searched to determine if the malware has executed successfully, determine the scope of hosts infected, or observe the spread of the infection.
Supported ProtocolsBluffer resides on a Ubuntu VM which is connected to a Windows VM (which the malware is run on) via a Host-only network. The default route for the Windows VM is the IP address of the Ubuntu VM.
DownloadThis is a project I did during COVID-19 to create a simple serverless managed e-commerce website solution.
Miscellaneous code which you may find useful:
Gush 1.0.3 - Packet Flood Generator (Linux)gush.c (10637B SHA1:1efcde891c2b8152b779e8a01b33ec0a15e85fe4)
Mirror 1.0.1 - Packet Traffic Interface Mirror (Linux)mirror.c (3718B SHA1:fb71518295020187c88aa7990970318f698d44ea)
eDate 1.0 - HTML Input Date Change Via Mouse Scrolledate.js (1845B SHA1:f762303624f2464345b2da85523b503faa7c2fe4)
eSort 1.0.2 - HTML Table Sortesort.js (1811B SHA1:e824ab9708c60a6ab924245a47847b2b0aa31687)
eTree 1.0 - HTML Tree Menuetree-1.0.tar.gz (3720B SHA1:c1422cdf85b4548acae848fd8d2c275d37e96ae2)