A large number of developers' Git source code libraries have been removed and asked to pay a ransom.
The attack was first discovered on May 3 and appears to be conducted across Git hosting services (GitHub, Bitbucket, GitLab).
- Outstanding! Bitcoin is about to achieve over 90% year-on-year growth this year, can it continue in 2020?
- Is it enough for me to take 100 bitcoins to fry shoes?
- Don't know lightning network? Zero-based can also be read by professional interpretation
- Revisiting 2020, Bitcoin wants to say
- Bitcoin in India: the premium is over $600, the more banned the more "crazy"
- From the coin security to roll back the stolen BTC transaction, talk about how Bitcoin can ensure "unable to modify" from the code
What is known so far is that the hacker removed all source code and recent updates from the victim Git repository and left a blackmail message asking the developer to pay 0.1 bitcoin (about $580).
The hacker claimed that all source code was downloaded and stored on their server and gave the victim ten days to pay the ransom; otherwise they would disclose the code.
The hacker's message is as follows:
Want to find your lost code and prevent it from being compromised; send our Bitcoin address (ES14c7qLb5CYhLMUekctxLgc1FV2Ti9DA) to 0.1 bitcoin, then tell us your Git login and proof of payment via firstname.lastname@example.org. If you don't believe we have your data, you can contact us and we will provide evidence. Your code has been downloaded and backed up on our server. If we do not receive the money within the next 10 days, we will use your code publicly or directly.
Upon inquiry, this bitcoin address is currently only recorded on May 3rd with a credit of approximately 0.00052525 BTC.
Password security is key
According to GitHub data, the code base affected by this attack has reached nearly 400.
BitcoinAbuse.com is used to track bitcoin addresses that involve suspicious activity. The site has reported 34 suspicious activity on this bitcoin address. All suspicious activity tracked by it contains the same ransomware information, indicating that this bitcoin address was used for coordinated attacks against Git accounts.
Some hacked users admit that their GitHub, GitLab, and Bitbucket accounts are not secure enough, and they forgot to remove access to old programs that they haven’t used for months—both of which are online accounts A common way of attacking.
However, all the evidence suggests that hackers have looked at the entire Internet to find Git profiles, extracted credentials, and then used these logins to access and extort Git hosting services accounts.
GitLab security director Kathy Wang acknowledged in the email that this is the root cause of the account being compromised.
We identified the source based on the supporting documents submitted by Stefan Gabos and immediately began investigating the issue. We have identified the affected accounts and have notified them. Based on our findings, we have sufficient evidence that the attacked account stores passwords in clear text when deploying the relevant code base. We strongly recommend using password management tools to ensure that passwords are stored in a more secure manner and that two-factor authentication is enabled where possible, both of which prevent this problem.
Bitbucket's parent company, Atlassian, did not respond to requests for comment, but they have begun to notify customers that hackers have illegally entered their accounts and have begun sending security warnings to those accounts that failed to log in.
Paying ransom is not the only solution
The good news is that after delving into the victim's case, members of the StackExchange Security Forum found that the hacker did not actually delete it, but only modified the Git code header file, which means that it can be recovered in some cases.
The steps on how to restore the Git codebase can be found on this page.
On Twitter, some of the key players in the developer community are currently urging victims to contact GitHub, GitLab, or Bitbucket's support team before paying a ransom, as there are other ways to recover deleted codebases.