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.
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
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Hardware Design of STM32 USB Interface
- [GigaDevice GD32F310 Review] +RTC Usage
- [TI recommended course] #Live replay: TI's new generation C2000 microcontroller#
- DAC8532 DAC8552 16bitDAC chip STM32 analog SPI driver
- Recommendations for pad and steel mesh design of asymmetric packaged power chips
- Meixin Award Live Broadcast: Supporting Integrated Digital IO Technology for Industrial Systems Registration Open
- MSP430F249 external interrupt P1.3 port
- Cumulative error analysis and clock frequency optimization for UART communication in MSP430FR2311
- Learn 3D visualization from scratch: Exploded diagram
- 1000m WIFI amplifier ~ Anyone interested?