bodik / defender Goto Github PK
View Code? Open in Web Editor NEWnotes on applied computer security
Home Page: https://bodik.github.io/defender
notes on applied computer security
Home Page: https://bodik.github.io/defender
to switch from live log to offline file
$events = Get-WinEvent -FilterHashtable @{Path="system.evtx";ID=7030,7045} -Oldest
https://blogs.technet.microsoft.com/secadv/2018/01/22/parsing-dns-server-log-to-track-active-clients/
https://gist.github.com/randomvariable/be90107fd57a4f9502af2eba62978fb6
function Start-DNSClientLog {
$DnsOpLog = Get-WinEvent -ListLog Microsoft-Windows-DNS-Client/Operational
$DnsOpLog.IsEnabled = $true
$DnsOpLog.SaveChanges()
}
function Get-DNSClientQueries {
foreach($event in (get-winevent Microsoft-Windows-DNS-Client/Operational | % { [xml]$_.ToXml() })) {
$Query = ($event.Event.EventData.Data | Where-Object { $_.Name -eq "QueryName" }).'#text'
if($null -eq $Query) { return }
New-Object PSObject -Property @{
"Date" = [DateTime]$event.Event.System.TimeCreated.SystemTime;
"Query" = $Query
}
}
}
Get-ADComputer -Filter * -Properties ipv4Address, OperatingSystem, OperatingSystemServicePack | Format-List name, ipv4*, oper*
ToString('u') generates 'Z' timezone output despite that data is in fact in localtime
defender/tools/linux/baseline.sh
Line 15 in 94c0624
add env to the output
https://r2wiki.readthedocs.io/en/latest/options/capv/visual-mode/vv-help/
root@analysis-miner1:/data# fls -r -m / /dev/mapper/nbd0p2 > fls-timeline.txt
root@analysis-miner1:/data# mactime -y -d -b fls-timeline.txt > fls-timeline-mactimes.txt
C in MAC times does not stand for creation (as it corelates many times) but for 'change of attributes'
elaborate more on text just to remind myself
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.