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
General Security Discussions
Possible to abuse the sections in which are excluded from signature check in a signed executable?
Message
<blockquote data-quote="struppigel" data-source="post: 1039735" data-attributes="member: 86910"><p>Yes, it is a security risk. Sadly, many legitimate installers abuse this to add tracking info, settings or other things into certificate structures, so they do not have to sign every single file.</p><p>We had a case here in this thread: <a href="https://malwaretips.com/threads/glasswires-sha-256-hash-doesnt-match-the-one-listed-on-their-website.122381/" target="_blank">Need Advice - Glasswire's SHA-256 hash doesn't match the one listed on their website</a></p><p></p><p>Some software vendors put download URLs into the certificate structure. That is the worst case because malware authors can change this download URL into a malicious one and the file will still be valid and happily download malware.</p><p></p><p>Validly signed executables are often excluded from antivirus detection signatures if they are assumed to be from a trusted source. E.g. if the publisher is Microsoft, it is seen as a trusted source.</p><p></p><p>Another abuse case happened in the 3CX SmoothOperator supply chain attack. That one uses the tool from github and embedds encrypted malware code into the legitimate file. The file here works as a carrier for the malware, similar to a smuggler. It needs a second component to decrypt and execute the data. But it has the advantage that the actual malicious code is never on disk and the decryption code itself is small and not that suspicious.</p><p>Explained in detail in this video:</p><p>[MEDIA=youtube]jCXIKHCpvn8[/MEDIA]</p><p></p><p>A good technical blog post about this topic is here: <a href="https://web.archive.org/web/20150426192725/http://blogs.msdn.com/b/ieinternals/archive/2014/09/04/personalizing-installers-using-unauthenticated-data-inside-authenticode-signed-binaries.aspx" target="_blank">Caveats for Authenticode Code Signing - IEInternals - Site Home - MSDN Blogs</a></p></blockquote><p></p>
[QUOTE="struppigel, post: 1039735, member: 86910"] Yes, it is a security risk. Sadly, many legitimate installers abuse this to add tracking info, settings or other things into certificate structures, so they do not have to sign every single file. We had a case here in this thread: [URL='https://malwaretips.com/threads/glasswires-sha-256-hash-doesnt-match-the-one-listed-on-their-website.122381/']Need Advice - Glasswire's SHA-256 hash doesn't match the one listed on their website[/URL] Some software vendors put download URLs into the certificate structure. That is the worst case because malware authors can change this download URL into a malicious one and the file will still be valid and happily download malware. Validly signed executables are often excluded from antivirus detection signatures if they are assumed to be from a trusted source. E.g. if the publisher is Microsoft, it is seen as a trusted source. Another abuse case happened in the 3CX SmoothOperator supply chain attack. That one uses the tool from github and embedds encrypted malware code into the legitimate file. The file here works as a carrier for the malware, similar to a smuggler. It needs a second component to decrypt and execute the data. But it has the advantage that the actual malicious code is never on disk and the decryption code itself is small and not that suspicious. Explained in detail in this video: [MEDIA=youtube]jCXIKHCpvn8[/MEDIA] A good technical blog post about this topic is here: [URL='https://web.archive.org/web/20150426192725/http://blogs.msdn.com/b/ieinternals/archive/2014/09/04/personalizing-installers-using-unauthenticated-data-inside-authenticode-signed-binaries.aspx']Caveats for Authenticode Code Signing - IEInternals - Site Home - MSDN Blogs[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Top