moullos / mitigate Goto Github PK
View Code? Open in Web Editor NEWMachine Interrogation To Identify Gaps & Techniques for Execution
License: MIT License
Machine Interrogation To Identify Gaps & Techniques for Execution
License: MIT License
When executing with the following command (with and without admin privileges):
.\Mitigate.exe -OutFile=results.json
The following error message appear :
-> Unable to obtain latest Mitre Att&CK information. Please ensure that the device is connected to the internet.
Please take note that nothing on my device would indicate (at first sight) a network problem.
Ran as local-admin, but behind an authenticated proxy and the "username or password is incorrect"
Can't elevate the domain user to "admin" in parts of our environment, have to use local accounts, or accounts that the auth-proxy won't be able to use.
Unhandled Exception: System.Security.Authentication.AuthenticationException: The user name or password is incorrect.
---> System.DirectoryServices.DirectoryServicesCOMException: The user name or password is incorrect.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
--- End of inner exception stack trace ---
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Mitigate.SystemUtils.IsDomainJoined()
at Mitigate.Program.Main(String[] args)
These are the errors I get, "domain" is defined in the first few
1>------ Rebuild All started: Project: Mitigate, Configuration: Debug Any CPU ------
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(47,111,47,117): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(69,114,69,120): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(88,98,88,101): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(97,97,97,101): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(97,110,97,113): error CS1525: Invalid expression term 'int'
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(97,114,97,119): error CS1003: Syntax error, ',' expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,35,229,37): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,35,229,37): error CS1519: Invalid token '=>' in class, struct, or interface member declaration
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,38,229,45): error CS1520: Method must have a return type
1>C:\Users\xxxxx\Downloads\Mitigate-master\UserUtils.cs(229,46,229,51): error CS1041: Identifier expected; 'false' is a keyword
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,26,276,30): error CS1031: Type expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,26,276,30): error CS1026: ) expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,30,276,31): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(276,30,276,31): error CS1513: } expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,26,296,30): error CS1031: Type expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,26,296,30): error CS1026: ) expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,30,296,31): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(296,30,296,31): error CS1513: } expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,29,299,33): error CS1031: Type expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,29,299,33): error CS1026: ) expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,33,299,34): error CS1002: ; expected
1>C:\Users\xxxxx\Downloads\Mitigate-master\Utils.cs(299,33,299,34): error CS1513: } expected
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
P.S. Telegram is the worst way to contact anyone.
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.