PLC encryption technology and decryption method

Publisher:精品古钱斋Latest update time:2023-06-29 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

PLC encryption technology is actually a developer's idea. As long as you understand the author's encryption idea, you can quickly decrypt it. In fact, in nature, whether it is PLC or elevator motherboard, as long as there is encryption, there will be a secret to crack it. The two are always a combination of spear and shield.


First introduce two PLC decryption methods:

1 Direct reading method

Take Mitsubishi FX2 as an example: first open the serial port monitoring software (there are many on Baidu) to monitor the serial port data in and out. Then run FXWIN (PLC programming software) and connect it to PLC. After selecting the model, click program reading. At this time, you can see in the serial port monitoring software that the computer and PLC have exchanged several strings of characters. The last line sent by the PLC to the computer is the password, but it is ASII code. Compare it with the table and translate it into characters to get the password. Oh, this is a loophole in Mitsubishi PLC. Its programming software first reads the password into the computer memory and compares it with the password entered by the user. If the password is correct, the program can be read out. I tried it and sent the second to last line of characters to the PLC using the serial port software. The PLC also returned the password. At this point, everyone knows how to do this decryption software? The entire decryption software only needs to send a string of characters to the PLC, and then translate the characters with the password returned by the PLC into the password. Some PLCs do not have such vulnerabilities, such as OMRON and FUJINB2. They all transmit the password entered by the user to the PLC, and the PLC determines whether the password is correct before determining whether it can read the program.


2 Brute Force

Similarly, run the serial port monitoring software, open the programming software online, click program reading, and then enter the password 1234. If the program is read out, there is no need to solve it. If it shows that the password is wrong, then look at the data in the monitoring software. Find the string 1234. After the characters containing 1234, there will be a line of information returned by the PLC indicating that the password is wrong. Record this line of error information. Then open VB and do a small project: let the computer send the line containing 1234 to the serial port. Of course, there must be a loop statement, that is, change 1234 to from 0000 to FFFF, and let the computer keep trying. Use the IF statement to compare the returned information with the error message just recorded. If the information is different, stop trying. The password tried is the password of the PLC.


Have you seen this and felt that PLC encryption technology is just like this? The feeling of the vast sea and sky. Congratulations, it means that you have understood the truth of encryption and decryption. There are many specific implementation methods. But understanding the truth is the most important and the most difficult. As the saying goes: The great way has no method, the middle way has a form, and the small way is clever. Haha, let's talk about this first. Some details cannot be introduced too clearly for a while. Everyone will try more by themselves, use their brains more, and understand more, and you will definitely gain something.


Keywords:PLC Reference address:PLC encryption technology and decryption method

Previous article:KUKA robot monitors motor current during warm-up phase
Next article:The difference between electric motors and servo drives

Recommended ReadingLatest update time:2024-11-16 09:50

Automatic screw locking machine data acquisition system solution
Programmable logic controllers (PLCs) control various types of equipment through input and output signals, and can execute user-oriented instructions such as logical operations, sequential control, timing, counting and arithmetic operations, so that multiple devices can be connected together for centralized control
[Embedded]
Automatic screw locking machine data acquisition system solution
PLC automatic program programming method
The function of PLC automatic sequence is to control the equipment to work according to the pre-designed process flow. There are also several methods for writing the process of PLC automatic program. Let's make a detailed explanation below. The first method: the reset method of the auxiliary relay
[Embedded]
PLC automatic program programming method
Analysis of the Process and Method of PLC's Analog Signal Processing
Analog signals are the most basic input form of process signals (pressure, temperature, flow, etc.) in automated process control systems. The process signals in the system are converted into uniform voltage and current signals through transmitters, and these signals are transmitted to the controller (PLC) in real ti
[Embedded]
Analysis of the Process and Method of PLC's Analog Signal Processing
12 Tips on PLC Programming
Programming suggestions 1. When PLC and host computer (or touch screen) form a monitoring system, there are often control modes such as "manual" and "automatic" on the screen (generally, only one can be selected when there are multiple). You can use the "MOV" instruction in the program. For example, when "manua
[Embedded]
Several solutions in the debugging process of PLC control system
In the actual debugging process, sometimes such a situation occurs that a software system can fully meet the technological requirements of mechanical equipment in theory, but it cannot be put into normal operation during operation. In the system debugging process, in addition to considering the software design metho
[Embedded]
Logical errors in PLC programming
When programming PLC programs, no matter you are a novice or an experienced programmer, you will make the following low-level mistakes. Because this error is non-grammatical, the error cannot be detected by programming software. Once this error occurs, it is sometimes difficult to find it yourself. It is not until t
[Embedded]
Logical errors in PLC programming
How to convert PLC ladder diagram and circuit diagram
PLC ladder diagram language is a graphical programming language used to program programmable logic controllers (PLCs). It is similar to a circuit diagram, in which different graphic symbols are used to represent different logic elements, such as contacts, coils, counters, timers, etc. Logic elements can be connected
[Embedded]
Illustrated explanation of PLC and inverter communication wiring, quickly learn to use PLC to control inverter!
PLC and frequency converter have a relationship of inclusion and being included. Both PLC and frequency converter can complete some specific instructions to control motors. PLC is a program input execution hardware, and frequency converter is one of them. However, the PLC covers a wider range than the fre
[Embedded]
Illustrated explanation of PLC and inverter communication wiring, quickly learn to use PLC to control inverter!
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号