Prevent hackers from identifying your system with TTL values

Source: Internet
Author: User

Use the ping command to determine the host's operating system by returning a TTL value. If the TTL value is 128, the target host's operating system can be considered Windows nt/2000, and if the TTL value is 32, the target host operating system is considered to be Windows 95/98, and if the TTL value is 255/64, it is considered to be a Unix operating system. Intruders like to use the ping command, since they believe the TTL value reflects the results, then we can modify the TTL value to deceive the intruder.

Open the Notepad file and write the batch file command:

  @echo regedit4>>changeTTL.reg
  @echo.>>changeTTL.reg
  @echo[HKEY_LOCAL_MACHINESYSTEMCURRENT_CONTROLSETSERVICESTCPIPPARAMETERS]>>changeTTL.reg
  @echo "defaultTTL"=dword:"000000">>changeTTL.reg
  @regedit /s /c changeTTL.reg

Save the prepared program as a batch file with the extension "bat", and then double-click the file, at which point the TTL value of the operating system is modified to "FF", or 10 to 255, which means that your operating system is artificially "transformed" into a UNIX system. The batch file generates a registry file named "Changettl.reg" in the directory where the file is located, and if you want to run out of this batch file without producing the file, you can add "deltree/y Changettl.reg" on the last line of the batch command. This eliminates the need to confirm that the Changettl.reg file is automatically deleted.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.