Common Intrusion methods for personal computers
When talking about personal security when surfing the internet, we should first classify the problems that people may encounter. The intrusion methods we encounter include the following:
(1) Passwords stolen by others;
(2) The system is attacked by Trojans;
(3) malicious java scrpit program attacks during Webpage Browsing;
(4) QQ attacks or information leakage;
(5) virus infection;
(6) vulnerabilities in the system allow others to attack themselves.
(7) malicious attacks by hackers.
Next, let's take a look at how to effectively prevent attacks.
1. View local shared resources
Run CMD and enter net share. If abnormal share is found, disable it. But sometimes when you turn off sharing and start up again, you should consider whether your machine has been controlled by hackers or has been infected with a virus.
2. Delete sharing (input one at a time)
Net share admin $/delete
Net share c $/delete
Net share d $/delete (if e, f ,...... Can continue to delete)
3. delete an ipc $ null connection
Enter regedit in the run and find the value name in the HKEY-LOCAL_MACHINESYSTEMCurrentControSetControlLSA entry in the Registry
The value of RestrictAnonymous is changed from 0 to 1.
4. disable port 139. The ipc and RPC vulnerabilities exist here.
To disable port 139, select the "Internet Protocol (TCP/IP)" attribute in "Local Connection" of "network and dial-up connection, in "Advanced TCP/IP Settings" and "WinS Settings", enter "disable NETBIOS for TCP/IP". If you check the box, port 139 is disabled.
5. Prevent rpc vulnerabilities
Open the management tool -- service -- locate the RPC (Remote Procedure Call (RPC) Locator) Service -- set the first failure, second failure, and subsequent failure to no operation. This vulnerability does not exist in XP SP2 and 2000 pro sp4.
Close port 6.445
Modify the registry and add a key value HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetBTParameters. In the window on the right, set SMBDeviceEnabled to REG_DWORD and set the key value to 0.
Close 7.3389
XP: Right-click on my computer and select Properties --> remote, remove the check box between remote assistance and Remote Desktop.
Start Win2000server --> program --> Administrative Tools --> locate the Terminal Services Service item in the service, select the property Option to change the Startup Type to manual, and stop the service. (This method is also applicable to XP.) For friends who use 2000 pro, note that there are many articles on the Internet that refer to Win2000pro.
Start --> set --> control panel --> management tools --> locate the Terminal Services Service item in the service, select the property Option to change the Startup Type to manual, and stop the service. You can disable 3389, in fact, there is no Terminal Services in 2000pro.
Prevention of 8.4899
There are many intrusion methods about 3389 and 4899 on the network. 4899 is actually a server port opened by a remote control software. These control software is powerful, so Hackers often use it to control their bots. In addition, such software is generally not scanned and killed by anti-virus software, it is safer than a backdoor.
4899 is a system-provided service, unlike 3389. You must install it on your own and upload the server to the compromised computer and run the Service to achieve the purpose of control. So as long as your computer has made basic security configurations, it is difficult for hackers to control you through 4899.
9. Disable the service
Open Control Panel, go to Administrative Tools-services, and close the following services
1. Alerter [Notifies selected users and computers to manage alarms]
2. ClipBook [enable the "Clipboard viewer" to store information and share it with remote computers]
3. Distributed File System [combines Distributed File sharing into a logical name and shares it out. After it is disabled, remote computers cannot access sharing.
4. Distributed Link Tracking Server [applicable to lan Distributed links? Abrupt Growth
5. Human Interface Device Access [enable general input Access to the Human Interface Device (HID)]
6. imapi cd-Burning COM Service [manage CD recording]
7. Indexing Service [provides the index content and attributes of files on a local or remote computer, causing information leakage]
8. Kerberos Key Distribution Center [authorization protocol logon network]
9. License Logging [monitor IIS and SQL. If you have not installed IIS and SQL, stop]
10. Messenger [alert]
11. NetMeeting Remote Desktop Sharing [Collection of customer information left by netmeeting]
12. Network DDE [provides dynamic data exchange for programs running on the same computer or different computers]
13. Network dde dsdm [Managing Dynamic Data Exchange (DDE) Network sharing]
14. Print Spooler [printer service. If there is no printer, disable it]
15. Remote Desktop Help & nbsp; Session Manager [manage and control Remote Assistance]
16. Remote Registry [enable Remote computer users to modify the local Registry]
17. Routing and Remote Access [Provide Routing services in LAN and wide area networks. Hacker reasons Routing service spying Registration Information]
18. Server [supports sharing of files, printing, and named pipes on this computer over the network]
19. Special Administration Console Helper [allow the Administrator to remotely access the command line prompt using the Emergency Management Service]
20. TCP/IPNetBIOS Helper [provides support for NetBIOS on TCP/IP service and NetBIOS name resolution on network clients so that users can share files, print and log on to the network]
21. Telnet [allow remote users to log on to this computer and run programs]
22. Terminal Services [allow users to connect to a remote computer in interactive mode]
23. Window s Image Acquisition (WIA) [Photo Service, application and digital camera]
If you find that the machine has started some strange services, such as r_server, you must immediately stop the service because it is entirely possible that hackers use the server that controls the program.
10. account and password security principles
First, disable the guest account and rename the Built-in administrator account ~~ (The more complicated the change, the better. It is better to change it to Chinese), and set a password, preferably a combination of 8 or more letters and numbers. (Let the damn hackers guess it ~)
If you are using another account, it is best not to add it to the administrators group. If you join the administrators group, you must also set a safe enough password, it is best to set it in security mode, because my research has found that the account with the highest permissions in the system is not the adminitrator account under normal login, because even with this account, you can also log on to the security mode and delete the sam file to change the administrator password of the system! This is not the case for the administrator set in Security Mode, because it is impossible to enter security mode without knowing the administrator password. The maximum permission is the password policy: You can set the password according to your habits. The following is my Recommended settings (for password security settings, I have already mentioned above, and I will not go on here.
Open the management tool. Local Security Settings. Password Policy
1. The password must comply with complex requirements. Enable
2. Minimum password value. I set it to 8.
3. The maximum password validity period is 42 days by default.
4. The minimum password validity period is 0 days.
5. Force password history to remember 0 passwords
6. Use recoverable encryption to store and disable passwords
11. Local Policy:
This is very important. It can help us find every action of the people who are tested and track down hackers in the future. (Although hackers usually clear the traces they leave on your computer when they leave, there are also some carelessness)
Open management tools
Find the local security settings. Local Policy. Audit Policy
1. Audit Policy Change failed
2. login event review successful failure
3. An error occurred while accessing the Audit object.
4. No review is performed during the review and tracking process.
5. Failed to Audit Directory Service Access
6. failed to review privilege usage
7. System Event Review failed
8. An error occurred while checking the Account Logon Time
9. failed to review account management & nb sp; then go to the management tool to find
Event Viewer
Application: Right-click> Properties> set the maximum log size. I set 50 mb and select not to overwrite the event.
Security: Right-click> Properties> set the maximum log size. I also set 50 mb. Select not to overwrite the event.
System: Right-click> Properties> set the maximum log size. I have set 50 mb for all logs. Select not to overwrite the event.
12. Local Security Policy:
Open the management tool and find the local security settings. Local Policy. Security Options.
1. Interactive login. You do not need to press Ctrl + Alt + Del to enable [based on personal needs ,? However, I personally do not need to enter a password to log on]
2. network access. do not enable Anonymous Enumeration for SAM Accounts
3. network access. Anonymous sharing is allowed to delete the following values.
4. network access. Anonymous Named Pipes can be used to delete the following values.
5. network access. The Registry path that can be remotely accessed will delete the following values.
6. network access. The sub-path of the remote access registry will delete the following values.
7. network access. Restrict anonymous access to named pipes and shares
8. account. (as mentioned above)
13. user permission allocation policy:
Open the management tool to find the local security settings. Local Policy. user permission allocation
1. By default, there are 5 users accessing the computer from the network. In addition to Admin, we delete 4 users. Of course, we have to create an ID of our own.
2. Force shutdown from the remote system, and the Admin account is also deleted.
3. Refuse to Access this computer from the network and delete the ID
4. Admin can also delete the computer from the network. If you do not use services similar to 3389
5. Force shutdown at the remote end. Delete
14. Terminal service configuration
Open Management Tools terminal service configuration
1. After it is enabled, click "Connect", "right-click", "attribute", and "Remote Control". The "Remote Control" button is not allowed.
2. Regular, encryption level, high. Click √ on standard Windows verification!
3. Nic, set the maximum number of connections to 0
4. Advanced: Delete the permissions in it. [I didn't set] Click server settings. On Active Desktop, disable the settings and restrict each session to be used.