tyranid / exploitremotingservice Goto Github PK
View Code? Open in Web Editor NEWA tool to exploit .NET Remoting Services
License: GNU General Public License v3.0
A tool to exploit .NET Remoting Services
License: GNU General Public License v3.0
Can this be exploited over WCF/Http bindings?
Any ideas on the following?
PS C:\Users\redacted\ExploitRemotingService-master\ExploitRemotingService-master\ExploitRemotingService\bin\x86\Debug> .\ExploitRemotingService.exe tcp://192.168.74.65:17001/Servers ver
Error, couldn't detect version, using host: 4.0.30319.42000
Detected version 4 server
System.Runtime.Remoting.RemotingException: Error deserializing message. ---> System.NotSupportedException: http://go.microsoft.com/fwlink/?LinkId=390633
--- End of inner exception stack trace ---
at ExploitRemotingService.CustomChannel.MakeCall(String path, MethodBase mi, Object[] cmdargs) in C:\Users\redacted\ExploitRemotingService-master\ExploitRemotingService-master\ExploitRemotingService\CustomChannel.cs:line 252
at ExploitRemotingService.CustomChannel.MakeCall[T](String path, MethodBase mi, Object[] cmdargs) in C:\Users\redacted\ExploitRemotingService-master\ExploitRemotingService-master\ExploitRemotingService\CustomChannel.cs:line 243
at ExploitRemotingService.Program.CreateRemoteClassExploit(CustomChannel channel) in C:\Users\redacted\ExploitRemotingService-master\ExploitRemotingService-master\ExploitRemotingService\Program.cs:line 362
at ExploitRemotingService.Program.CreateRemoteClass(CustomChannel channel) in C:\Users\redacted\ExploitRemotingService-master\ExploitRemotingService-master\ExploitRemotingService\Program.cs:line 401
at ExploitRemotingService.Program.Main(String[] args) in C:\Users\redacted\ExploitRemotingService-master\ExploitRemotingService-master\ExploitRemotingService\Program.cs:line 623
I have a service using tcp and uses binaryformatter, TypeFilterLevel.Full. (Maybe I need to go back and verify if this was on the Client or Server provider though!)
Using useser
I first get an exception about the Hastable being unable to cast to IMessage, but assume this is normal as I get that exception when testing against the example service.
Then I get:
This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server.
The only config option on the server side channel I can see that could affect it is supressChannelData
but its not particularly clear what this does from any of the documentation.
I've tried adding properties["supressChannelData"] = true;
to the example service but it doesn't seem to make a difference.
Also in the readme you state 'The vulnerable service provided in this repo has intentionally disabled the security fix' but its not clear exactly what line does this?
Class ChannelUriFixingClientChannelSinkProvider is missing. It wasn't resolved whatever I do.
When running command: .\ExploitRemotingService.exe --uselease --autodir --ver=2 tcp://<ip>:23453/Server
, I got an exception:
System.ArgumentException: Couldn't get instance of System.IO.DirectoryInfo from server.
at ExploitRemotingService.SerializerRemoteClass.Cast[T]()
at ExploitRemotingService.Program.ExecuteCommand(IRemoteClass c)
at ExploitRemotingService.Program.Main(String[] args)
The remote server is runing RemotingService under C# .NET 3.5 on Windows Server 2008?
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.