Thursday, July 14, 2016

Cybati - Blackbox Challenge #1 - Advanced Mission #12

This post is blog post 12 of 15 of the Cybati Blackbox #1 challenge.

Mission 12:
Mission 12 (10 pts). What is the PLC password contained in the PLF file?


  1. This mission asks us to find the PLC password contained in the PLF file. A PEData.plf is a Siemens PLC project file. Let’s find out where these files are in the file system.
  2. Open up a new Terminal window

  3. We need to search the entire filesystem as we do not know where this file may be located. In the Terminal window, type in the following command and press Enter.
    find / -name *.plf

  4. You should get the same results as below

  5. The folder /opt/CybatiWorks/Labs/passwords looks interesting. In the Terminal window, type in the following command and press Enter.
    cd /opt/CybatiWorks/Labs/passwords

  6. Type in the following command to list the contents of the folder and press Enter.
    ls -ls

  7. You may have a similar set of files. The password within a PEData.plf file can be retrieved using the “s7_password_hashes_extractor.py” Python script. The source for this Python script can be found at: https://github.com/atimorin/PoC2013/blob/master/S7/s7_password_hashes_extractor.py.
  8. If you run the script without any arguments, you get the following output:

  9. Based on the help text above, we need to point the script to the PEData.plf file as below

  10. From the output of the command above, it would appear that the password contained in the PEData.plf is “123” to answer Mission 12.

No comments:

Post a Comment