The world of macOS malware has a new member that makes no effort to keep appearances and looks rather like a bare-bones version that is still under development.
Its functionality is limited to taking screenshots and running a backdoor. This, coupled with the lack of a proper facade earned it the name of OSX.LamePyre.
Disguised as a copy of the Discord messaging app for gamers, the malware was discovered last Friday by Malwarebytes’ threat researcher Adam Thomas, who noticed that the guise did not go beyond the initial concealment.
He says that “this copy of Discord didn’t seem to do anything, because it was actually an Automator script that did nothing for the user.”
Nothing but a generic icon
When LamePyre runs on the system, users see the generic Automator icon in the menu bar, which is typical for any script of this sort.
The script decodes a payload written in Python and runs it on the victim host. It then starts to take pictures and upload them to the attacker’s command and control (C2) server.
Thomas noticed that one part of the Python code was written to set up the open source EmPyre backdoor on the system. This particular backdoor has been seen with another malware strain for macOS, DarthMiner, which integrated cryptocurrency mining capabilities.
LamePyre seems either like a poor job or a threat under development as it does not include functionality that would allow it to pass as a legitimate Discord messenger.
“It is not a maliciously-modified copy of the Discord app. It doesn’t even include and launch a copy of the Discord app, which it could do easily as a subterfuge to make the app look legit. For that matter, it doesn’t even use a convincing icon!” Malwarebytes says.
To keep the malicious code running, the author included code that sets up a launch agent with the deceptive name ‘com.apple.systemkeeper.plist.’
Given the behavior of the malware, chances are users won’t realize that something is out of place soon enough and LamePyre would have already opened the backdoor and delivered some screenshots to the attacker.
December, the month of macOS malware
This month has seen plenty of activity on the macOS malware front, as two other strains have been discovered.
DarthMiner is one of them, distributed through the Adobe Zii piracy software for pirating multiple applications from Adobe.
In this case, the author made the mistake of using the Adobe Creative Cloud logo instead of the Adobe Zii icon, which attracted well-deserved suspicions.
Another macOS threat is OSX.BadWord, named so by Malwarebytes and discovered by John Lambert, Microsoft Threat Intelligence Center engineer.
This #bitcoin interview lure macro doc does not infect any version of Office for Windows. Why? It is targeting MacOffice.
When you see libc.dylib, system, and plist, you know the macro is up to no good.
▪️https://t.co/fUdSaFFQxq (@patrickwardle)
▪️https://t.co/8NWocQoAAw pic.twitter.com/sSb2dvxmru— John Lambert (@JohnLaTwC) December 3, 2018
It was delivered via a malicious macro in a Microsoft Word document that exploited a sandbox escape vulnerability to create a launch agent to enable persistence of a Python script that sets up a Meterpreter backdoor to access the system.
As interesting as it seems, OSX.BadWord is not an original creation but a copy-paste job from proof-of-concept code released in February by Adam Chester from MDSec. The difference is in the choice of the backdoor, since Chester mentioned Empire as a possible tool for handling macOS endpoints.
Other than this, the crook put minimum effort into making the malware as they left in the code even the identifiers referring to Chester’s blog; or maybe they just would have felt bad about taking undeserved credit.
Related Articles:
Mac CryptoCurrency Price Tracker Caught Installing Backdoors
Op ‘Sharpshooter’ Uses Lazarus Group Tactics, Techniques, and Procedures
Android Malware Tricks User to Log into PayPal to Steal Funds
WebKit Vulnerability Affects Latest Versions of Apple Safari
Apple Fixes Passcode Bypass, RCE Vulnerabilities, and More in Today’s Updates.
Bleeping Computer® is a community of individuals of all ages who are here to learn new information, to help each other, and to help their fellow peers. With that in mind, we ask that all members please follow these simple rules in order to create an atmosphere where everyone feels comfortable.
The rules are as follows:
- All information and instructions given within these forums is to be used at your own risk. By following or using any of this information you give up the right to hold BleepingComputer.com liable for any damages.
- All the forums are categorized by topics. Please post your questions or messages in the appropriate forum.
- Answers to many of the questions you may have can be found in the Tutorials Section, Glossary, or from other posts on the message boards. Please use the search functions, at the top right of each page, to find your answers. If you are still having problems, feel free to post your question.
- All help must be provided in the forums or on our Discord Server. We do not allow support to be provided or requested via personal message, email, or remote desktop control programs (Logmein, TeamViewer, etc).
- If a topic is posted in a forum that is not appropriate for the question, the staff has the right to move that topic to another better suited forum.
- The posting of any copyrighted material on our web site is strictly prohibited.
- Posting links in order to generate affiliate commissions is not permitted at BleepingComputer.com. Any posts that are deemed to be posted in order to generate affiliate commissions, regardless of the product being promoted, will be deleted. If a user continues to create affiliate SPAM posts, they will be banned.
- Posting links to non-Bleeping Computer malware removal guides is NOT permitted with the exception of security vendors who sometimes release specialized tools and instructional documentation. This is because it is impractical for BleepingComputer to monitor and review all such guides for accuracy, no matter how accurate those guides may, in fact, be.
- There will be no use of profanity on our message boards. This will not be tolerated and can lead to immediate suspension.
- When posting, please use proper grammar. Refrain from ‘text-message’ style substitutions of words like ‘u’ for ‘you’, and ‘ur’ for ‘your’. This is a multi-national forum, and some of our non-english speaking members must use translation software which is confused by abbreviations. Most of our volunteer members are very busy helping as many people as they can, and a post that is hard to read will often be overlooked.
- There will be no racial, ethnic, gender based insults or any other personal discriminations. This will not be tolerated and can lead to immediate suspension.
- There will be no posts meant to offend or hurt any other member, in a manner which is offensive or inflammatory. This includes flaming or instigating arguments.
- Spamming is not permitted; please keep all your posts as constructive as possible.
- Pornography, warez, or any other illegal transactions may NOT be linked in any shape or form.
- If you have questions regarding homework, we will only help you with general concepts. If you are looking for a complete solution or answer, we will most likely just delete your post.
- No subject matter will be allowed whose purpose is to defeat existing copyright or security measures. If a user persists and/or the activity is obviously illegal the staff reserves the right to remove such content and/or ban the user. This would also mean encouraging the use or continued use of pirated software is not permitted, and subject to the same consequences.
- If you are receiving assistance in the Virus Removal forum, you are not allowed to request assistance for the same computer at another malware removal forum. This is to prevent conflicting advice from causing issues with your computer or making it unbootable.
- This forum has the right to request alteration or deletion of any offensive post. If this is not done in a prompt manner, the Staff will delete the material themselves.
- Posts may be deleted for any reasons the forum administrators deem reasonable.
- Pictures may be posted as long as they are not explicit, offensive, or copyrighted.
- Advertisements, of any sort, are not permitted. This includes member names and links to commercial sites in Signatures, or in posts. You also may not solicit sales for Newegg through the use of promotion or coupon codes. If you would like to advertise on our site, contact us here.
- In order to reduce spam on the site, you will not be able to add a signature to your account until you reach 25 posts. Signatures are limited to 5 lines or 2000 characters; whichever comes first. If your signature is larger than the allotted size given or deemed unacceptable, you will be requested to adjust your signature. Failure to comply will result in the removal of your signature.
- Only one image per signature. Images in signatures must also be no larger than 500 pixels wide X 90 pixels high. If you have more than one image you will be requested to remove one. If this is not done in a timely manner the staff has the right to modify your signature to abide by these rules.
- Any links in signatures or profiles cannot be commercial in nature or they will be removed by BleepingComputer. You may not put links in your signature soliciting donations unless you are in certain member groups. Those member groups that are allowed will be expressly notified. If you have a personal website or off-site help resource, that is more than fine, but you can not sell products or services through your signature. Multiple links to the same site, unless for a very specific reason, are not permitted in a signature and will be removed.
- Avatars must be in good taste. This means no vulgar or violent images, pornography, or profanity. Avatars that are found to be inappropriate will be removed at the discretion of the staff.
- Linking to hate, anti-Semitic, racist, pornography, warez, or other illegal sites is not permitted.
- Links in your signature must be unobtrusive and can not use formatting so that attention is brought to them.
- Member’s display names can not be email addresses. This rule is in place to protect you from spam bots who will pick up your email address and spam you.
- Members may have only one account on this forum. There is no need to have more than one.
- Any impersonation of a user from these forums, in any mode of communication, is strictly prohibited and will result in a banning.
- Linked and locked topics are pruned regularly to reduce page clutter. If you have a question about where your topic went, please PM a Moderator or Administrator before starting a new topic asking where it went, or posting a duplicate of the original topic. We will be happy to provide you with a link to the new location, or a reason why it was locked and/or removed.
Violation of any of these rules can lead to a banning of the user from our Web Site and a deletion of their account. The consequences will be determined by the Staff on a case by case basis.
When posting you agree that the administrators and the moderators of this forum have the right to modify, delete, edit or close any topic, signature, account, or profile data at any time that they see fit. If you have any questions concerning this, please do not start a new thread, but rather private message to an administrator or moderator.