Command line: Using tcpdump to find scanning activity
Great Stuff from packetbomb.com
10/19/2015
10/02/2015
Windows DNS Server: Security Settings
Do a DNS test at:
DNS Stuff
You will get warnings of various kinds. A couple of important fixes are:
DNS Stuff
You will get warnings of various kinds. A couple of important fixes are:
Disable Version Query
dnscmd /config /EnableVersionQuery 0
Disable Recursion
dnscmd /Config /NoRecursion 1
10/01/2015
9/29/2015
List all SPNs in Active Directory
From TechNet
cls
$search = New-Object DirectoryServices.DirectorySearcher([ADSI]“”)
$search.filter = “(servicePrincipalName=*)”
$results = $search.Findall()
#list results
foreach($result in $results)
{
$userEntry = $result.GetDirectoryEntry()
Write-host "Object Name = " $userEntry.name -backgroundcolor "yellow" -foregroundcolor "black"
Write-host "DN = " $userEntry.distinguishedName
Write-host "Object Cat. = " $userEntry.objectCategory
Write-host "servicePrincipalNames"
$i=1
foreach($SPN in $userEntry.servicePrincipalName)
{
Write-host "SPN(" $i ") = " $SPN $i+=1
}
Write-host ""
}
7/12/2015
Packet Capture From Cisco Router
7K
ethanalyzer
local interface inband limit-captured-frames 20000 autostop duration 120 write
bootflash:capture.pcap
IOS-XE Router
monitor capture
CAP int Gi0/0/1 both
monitor capture
CAP match ipv4 any any
monitor capture
CAP start
show monitor
capture CAP buffer brief
monitor capture
CAP stop
monitor capture
CAP export ftp://10.1.10.27/CAP.pcap
no monitor
capture CAP
IOS Router
- create access-list for packet filter
- create buffer
- filter buffer
- create capture point
- associate capture point with buffer
- start capture
- Look at progress
- See list of capture points
- Stop the capture
- Export buffer as PCAP
- Remove buffer
- Remove capture point
access-list 1 permit 10.100.1.45
monitor capture buffer holdpackets
monitor capture buffer holdpackets filter access-list 1
monitor capture point ip cef mytrace all both
monitor capture point associate mytrace holdpackets
monitor capture point start mytrace
show monitor capture buffer all parameters
show monitor capture point all
monitor capture point stop mytrace
monitor capture buffer holdpackets export
tftp://10.1.10.27/mytrace.pcap
no monitor capture buffer holdpackets
no monitor capture point ip cef mytrace all both
4/14/2015
Subscribe to:
Posts (Atom)