Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default.tasks #60

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tasks/default.tasks
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@
["Computers Admin of Computers","HTMLCSV","Computers_admin_computers","MATCH p=(m:Computer {enabled: True})-[r1:MemberOf*0..]->(g)-[r2:AdminTo*1..]->(n:Computer) WHERE n <> m RETURN m.name as Computer, n.name as TargetComputer"]
["Computers Admin of Computers Count","HTML","Computers_admin_computers_count.html","MATCH p=(m:Computer {enabled: True})-[r1:MemberOf*0..]->(g)-[r2:AdminTo*1..]->(n:Computer) WHERE n <> m RETURN m.name as Computer, COUNT(n) as TargetComputerCount"]
["Computers with Descriptions","HTMLCSV","Computers_WithDescriptions","MATCH (c:Computer) WHERE c.description IS NOT NULL RETURN c.name as Computer,c.description as Description"]
["Computers Vulnerable to Local Admin Enumeration","HTMLCSV","Computers_With_More_Than1_Local_Admin","MATCH p=()-[:AdminTo]->(n:Computer) RETURN n.name as Host, n.operatingsystem as OS"]
["Local Admin Users To Computers","HTMLCSV","LocalAdmin_Users","MATCH p=(s:User)-[:AdminTo]->(n:Computer) RETURN s.name as name, n.name as Host, n.operatingsystem as OS"]
["Local Admin Groups To Computers","HTMLCSV","LocalAdmin_Groups","MATCH p=(s:Group)-[:AdminTo]->(n:Computer) RETURN s.name as name, n.name as Host, n.operatingsystem as OS"]
["Local Admin Computers To Computers","HTMLCSV","LocalAdmin_Computers","MATCH p=(s:Computer)-[:AdminTo]->(n:Computer) RETURN s.name as name, n.name as Host, n.operatingsystem as OS"]
["Operating Systems Unsupported", "HTMLCSV", "OS_Unsupported", "MATCH (c:Computer) WHERE c.operatingsystem =~ '.*(2000|2003|2008|2012|xp|vista|7|me).*' RETURN c.name as Computer, c.operatingsystem as UnsupportedOS, c.enabled as Enabled, toString(datetime({epochSeconds: ToInteger(coalesce(c.pwdlastset,0))})) as PWDLastSet, toString(datetime({epochSeconds: ToInteger(coalesce(c.lastlogontimestamp,0))})) as LastLogonTimeStamp" ]
["Operating Systems Unsupported Count", "HTMLCSV", "OS_Unsupported_Count", "MATCH (c:Computer) WHERE c.operatingsystem =~ '.*(2000|2003|2008|2012|xp|vista|7|me).*' RETURN COUNT(DISTINCT(c.name)) as Computers, c.operatingsystem as UnsupportedOS, c.enabled as Enabled ORDER BY Enabled DESC, Computers DESC" ]
["Operating Systems Count", "HTMLCSV", "OS_Count", "MATCH (c:Computer) RETURN c.operatingsystem aS OS, count(*) as Computers, c.enabled as Enabled ORDER BY Enabled DESC, Computers DESC" ]
Expand Down