Hack Forums
[C] doamain Redirection - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] doamain Redirection (/showthread.php?tid=5871403)



doamain Redirection - simantmohan - Aug 8, 2018

I need a program for domain redirection. the program should have a control panel.
features
The client installed on a computer will have this functionality..
1> Able to redirect multiple or single website to different website.
2> Able to Hijack DNS ... suppose the client wants to open abc.com, instead, xyz.com is displayed but the address bar still shows abc.com
3> the control panel should have features to uninstall the client, modify the client
4> the client should be persistent
5> control panel should be able to do crowd management.
6> it should work on all version of windows, linux, android and iOS


RE: doamain Redirection - Auriana - Aug 8, 2018

Okay, hook getaddrinfo in every browser or do a TDI IRP_MJ_INTERNAL_DEVICE_CONTROL hook in the tcp/ip device.


RE: doamain Redirection - simantmohan - Aug 8, 2018

(Aug 8, 2018 11:55 AM)Auriana Wrote:  Okay, hook getaddrinfo in every browser or do a TDI IRP_MJ_INTERNAL_DEVICE_CONTROL hook in the tcp/ip device.

you mean to say that we need to create a browser hook which will capture all the url and then divert it? this way I guess universal client will not work. for every browser a new client will be needed


RE: doamain Redirection - Auriana - Aug 9, 2018

(Aug 8, 2018 09:18 PM)simantmohan Wrote:  you mean to say that we need to create a browser hook which will capture all the url and then divert it? this way I guess universal client will not work. for every browser a new client will be needed

A single client can inject into multiple processes.


RE: doamain Redirection - 3DES - Aug 9, 2018

Hook DnsQuery_W and you are good to go


RE: doamain Redirection - bafometh - Aug 19, 2018

its will not work on last chrome


RE: doamain Redirection - simantmohan - Aug 23, 2018

I was thinking of a much plain method. like a simple program that sits in the background and captures all the domain request. the return the desired request.... this can be done via editing the Host file but then again the Host file dose not support Wild card..... if there is a way host file supports wild card then this can be more simple. and also then it will be browser independent


RE: doamain Redirection - Auriana - Aug 23, 2018

(Aug 23, 2018 03:10 AM)simantmohan Wrote:  I was thinking of a much plain method. like a simple program that sits in the background and captures all the domain request. the return the desired request.... this can be done via editing the Host file but then again the Host file dose not support Wild card..... if there is a way host file supports wild card then this can be more simple. and also then it will be browser independent

Unless you write a device driver it will be browser dependant. And if you want to edit a host file then you need elevation. If you're trying to do this discretely then the only way is injection into browsers and hooking getaddrinfo or DnsQuery. Likewise if you aren't doing it discretely but need wildcard support, device drivers is one way the other is third party tools like Acrylic DNS proxy. Browser injection is probably the most viable method though.


RE: doamain Redirection - simantmohan - Aug 27, 2018

(Aug 23, 2018 07:46 AM)Auriana Wrote:  Unless you write a device driver it will be browser dependant. And if you want to edit a host file then you need elevation. If you're trying to do this discretely then the only way is injection into browsers and hooking getaddrinfo or DnsQuery. Likewise if you aren't doing it discretely but need wildcard support, device drivers is one way the other is third party tools like Acrylic DNS proxy. Browser injection is probably the most viable method though.
Browser Injection was something I thought about. Then, I do not have much knowledge of it. I was thinking of device driver as it can be remotely executed easily. well I need some guide for Browser Injection


Browser Injection is something that is an easy way around. Chrome does not allow third-party browser injection. there are many challenges related to browser security and policy when it comes to Browser Injection with different browsers


RE: doamain Redirection - HiddenEyE - Aug 30, 2018

(Aug 27, 2018 10:33 AM)simantmohan Wrote:  Browser Injection was something I thought about. Then, I do not have much knowledge of it. I was thinking of device driver as it can be remotely executed easily. well I need some guide for Browser Injection


Browser Injection is something that is an easy way around. Chrome does not allow third-party browser injection. there are many challenges related to browser security and policy when it comes to Browser Injection with different browsers

how did you know that chrome does not allow browser injection without testing.
hey! c/c++ has endless possibilities if you know what you are doing.


RE: doamain Redirection - simantmohan - Aug 30, 2018

(Aug 30, 2018 02:05 AM)HiddenEyE Wrote:  how did you know that chrome does not allow browser injection without testing.
hey! c/c++ has endless possibilities if you know what you are doing.

i meant to say that chrome only allows user to install addons via store. I just dont kknow much about browser innjection sorry for that...