The bandits are healthy
.The task is to find the server(learn ip) that will be transported to another city.

Dano: server on windows with poppy address and static ip
Purpose: to determine the new ip assigned to the new workplace, and even if it is dynamic(which is strange for the server), also know about it.
p.s.
programs like teamviewer and ammy-admin to connect remotely and register in cmd ipconfig are not suitable.
viruses a la njRAT too.

Are there any scripts that will help find the server on the Internet at the mac address(such as Google’s APIs that I understand they refused)?
spoiler
paranoia heading: Although I think its analog is perfectly embedded in a leaky SHINDOUS and surely knowing mac and having the necessary knowledge, you can get an answer about the address from machines
Or scripts that will, at a certain interval, report a new ip address to a given pc?

And some hard fiction: is it possible to implement this script, a program at the hardware level So that even after reinstalling the OS(let's say from windows to windows) everything exactly the script worked.?

4 Answers 4

Or scripts that will, at a certain interval, report a new ip address to the specified pc?

Services of dynamic DNS type https://www.noip.com/ put software that works as a service, enter your account a registry entry on this service and a soft link binds the server's ip to a domain name like blablabla.no-ip.info periodically checking if the address has changed and updating it if necessary.
its counterpart is perfectly embedded in a leaky SHINDOUS and surely knowing the mac and having the necessary knowledge, you can get an answer about the address from any machine

Brad.

If you're an administrator, get out of the profession.
If not, then ARP can match IP and MAC, run a script that the ARP client will pull and parse the answer to the specified MAC.

Another option is if the server is connected to a router, then look at the IP on this router, there is an ARP table.

Too much water in the question and too little specifics.IP external? Is there access to a remote network? Is there a way to connect to the router? Is there a router?
  • 0."yes, it’s possible nonsense.This is just a piece of a big brother conspiracy")
    1.ARP requests MAC by IP, and not vice versa.Is there no?
    2.If you read more carefully, I wrote in Russian that the server is being moved to another city and its IP is not known.How it will be connected to the network is also not known.This is the problem) Only MAC address is known.

    p.s.As far as I know the ARP protocol works according to the principle"Alo, ect.Who else is fumbling for a machine lying on this IP address?" - to which he receives the answer"Yes, yp.This is my address.Go, son." But not in any way.Yes, there is a reverse InARP protocol to it, but it is used on the data link layer.
    – Deadly61 Apr 26 '19 at 08:32
  • If you read it carefully, I wrote in Russian that the server is being moved to another city and its IP is not known.How it will be connected to the network is also not known.This is the problem)

    If you do not use TeamViewer or something similar, then the task has no solution.
    – Annoying Antelope Apr 26 '19 at 10:06
  • [[Zoominger]], or use Dindns services. – Kirby's24 Apr 29 '19 at 02:56
  • [[Lastok]], not the fact that the vehicle will have a normal external IP. – Annoying Antelope Apr 29 '19 at 10:18
  • [[Zoominger]], I agree.Not a fact) The client can sit behind a gray ip. – Kirby's24 Apr 30 '19 at 02:14
  • [[Zoominger]],[[Lastok]], found several solutions:
    1) the necessary tool for searching ip by mac is in BlackArch Linux, * I think once there is there, then there is also in Kali(but you correctly noticed, the search will not work if ip is not external.)
    2) write a program that binds to the hardware ID,(or SID) and when connected to the network it merges the data, even though it looks like a virus but is done for good, like AA or TeamWiever, but instead of remote control, the script sends packets to my ip * ** perhaps this will be done soon)
    spoiler
    2.1) stitch the RAT virus with the modified source(so that the aniviruses do not burn)
    2.2) to become a nuclear physicist get settled at CERN and come up with something more ambitious and ominous

    3) use ddns servers of type noip by hiding them in services
    4) the built-in-the-bug method, but it's more like espionage

    5) score on it and do something more useful.
    – Deadly61 Apr 30 '19 at 14:05
But thanks for the reminder of the ARP protocol.Bye stumbled upon Bootstrap Protocol.
This is exactly what I need.Honestly, I did not know about it.So the conspiracy rubbish turned out to be quite a common protocol developed by grandfathers who had the same problem. Good to you,"ats" sis-admins.
  • Do you realize that it does not work via the Internet, but only works within one broadcast segment(local network)? – Italian72 May 6 '19 at 06:34
Not quite clear, and here arp and external ip.
Having passed the chain of provider routers, it will not be relevant.

If you need to determine the current external ip: you can pull the https://ping.eu or equivalent through the batch file, or the external ip will be answered.

In the same script, send a letter through the free mail service.You can add exhaust of the same ipconfig.If you need internal ip.

Start to add via the task scheduler after turning on the server with a timeout(so that the network can be initialized) in minutes 10