Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Security
Malware Analysis
Trojan MSIL/Injector - static
Message
<blockquote data-quote="DardiM" data-source="post: 530015" data-attributes="member: 52613"><p>Thanks for your post, very interesting <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite109" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>If I well understand what you explained :</p><p></p><p>In the main function :</p><p></p><p>- calls a function (and sub-function) that allocate memory, gives it <span style="color: #006633">"execute, read-only, or read/write"</span> access (PAGE_EXECUTE_READWRITE access : 64u => x40) , and return a pointer to it (saving the precedent access value on <span style="color: #0000b3">uint num)</span>.</p><p>- writes in this location the content of JDqxMeJQJV (array of bytes)</p><p>- converts the pointer to this location in a delegate (a reference type that can be used to encapsulate a named or an anonymous method) and save it in bTzaXsnJFIxb</p><p>(then JDqxMeJQJV correspond to, like you said, a <span style="color: #b30000">function </span>moved, that will be call later)</p><p></p><p>and later :</p><p>- converts the delegate bTzaXsnJFIxb to a pointer to above <span style="color: #b30000">function</span></p><p>- calls this <span style="color: #b30000">function </span>with <span style="color: #0000b3">bTzaXsnJFIxb()</span>;</p><p></p><p>Am I right ? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite118" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /></p><p></p><p>Proceeding this way should make the functions used less easily readable / understandable on static analysis, a good method <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite109" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p>I suppose a lot of important functions used by this malware are called the same way.</p><p></p><p>Please, can you post a screen of JDqxMeJQJV array (if it contains data, in static analysis) ? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite118" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /></p><p>Is this a long array ?</p><p></p><p>I would like to see what it looks like <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite109" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="DardiM, post: 530015, member: 52613"] Thanks for your post, very interesting :) If I well understand what you explained : In the main function : - calls a function (and sub-function) that allocate memory, gives it [COLOR=#006633]"execute, read-only, or read/write"[/COLOR] access (PAGE_EXECUTE_READWRITE access : 64u => x40) , and return a pointer to it (saving the precedent access value on [COLOR=#0000b3]uint num)[/COLOR]. - writes in this location the content of JDqxMeJQJV (array of bytes) - converts the pointer to this location in a delegate (a reference type that can be used to encapsulate a named or an anonymous method) and save it in bTzaXsnJFIxb (then JDqxMeJQJV correspond to, like you said, a [COLOR=#b30000]function [/COLOR]moved, that will be call later) and later : - converts the delegate bTzaXsnJFIxb to a pointer to above [COLOR=#b30000]function[/COLOR] - calls this [COLOR=#b30000]function [/COLOR]with [COLOR=#0000b3]bTzaXsnJFIxb()[/COLOR]; Am I right ? :oops: Proceeding this way should make the functions used less easily readable / understandable on static analysis, a good method :) I suppose a lot of important functions used by this malware are called the same way. Please, can you post a screen of JDqxMeJQJV array (if it contains data, in static analysis) ? :oops: Is this a long array ? I would like to see what it looks like :) [/QUOTE]
Insert quotes…
Verification
Post reply
Top