Skip to content

This was a project of mine to randomize previously sanitized logs. This includes Cisco, Windows Security, Unix Logs. Other templates can be created if given real-world logs.

License

Notifications You must be signed in to change notification settings

Mustache84/log_randomizer

Repository files navigation

This script runs through a document and searches for variables, which are listed in the replace string towards the end.

It then replaces all variables with random selections from whatever list is being called for that variable.

Known variables with lists already created:

IP Addresses and subnets.
IP = private IP for workstation devices. 10.1.x.x
IP1 = different list for when lines have 2 private IP devices on one line 10.1.x.x
IP2 = same as IP1 but for more selections 10.1.x.x
SRC192 was used for a script that had 192 addresses but I changed them to a different 10.1.2 for variety
DST192 another 10.1.2.x list
DCIP is for domain controller/server IPs on a separate subnet 10.2.x.x
DCIP2 is another selection of DCIP IPs. 10.2.x.x
REMIP = public IP addresses
EXTIP == REMIP
INTIP == IP in case you wanted to add variety 10.1.x.x
_INTIP2 == IP2 for variety 10.1.x.x
FW = firewall IP addresses. 10.5.x.x
VPNIP = addresses on the VPN subnet 10.7.x.x

Users
USER_NAME = basic user names.
NIX_USER = linux users.
TARGET_USER_NAME = a list of users that normal users can impersonate.
for example >> where a default user, User.A, remotes to a machine as UserA.Admin.
It's also random from the same primary user list for various results.

Device Names
WORSTATION = workstation names. Endpoint names.
DC = Server Names. Domain Controllers.
FWNAME = firewall names.

Random Names of things
NT = Active Directory root name. ADROOT
SRCZONE = random zone names for sources
DSTZONE = random zone names for destinations.

About

This was a project of mine to randomize previously sanitized logs. This includes Cisco, Windows Security, Unix Logs. Other templates can be created if given real-world logs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages