Skip to main content
  1. Home
  2. Computing
  3. News

Has Petya ransomware locked you out of your PC? A new tool can let you back in

Add as a preferred source on Google

If you unwittingly fell victim to the Petya ransonware, there’s a way to get your data back without paying hundreds of dollars. The solution may not be effective in defeating future Petya code if the code is changed in the future, but it works with the current version, according to BleepingComputer.com.

When your computer is hijacked by Petya, the entire drive isn’t encrypted. The actual area that’s encrypted and effectively renders your system useless until unlocked is a specific segment on the drive. The boot sectors hold information needed to fully operate and access all the data on your computer, and that’s what the malware locks down. When you enter the decryption code the Petya developers want you to purchase, the boot sector information is un-encrypted and everything is put back to normal.

Recommended Videos

But you don’t have to pay the ransom. If you’re comfortable removing your hard drive, attaching it to another Windows computer, and downloading and running free utilities created by two Twitter users, you can do it all yourself.

First, remove your encrypted hard drive and attach it as a non-boot drive to a second computer.

The data you need to find the Petya boot information is a 512-byte string starting at sector 55 (0x37h) with an offset of 0 and the 8 byte nonce from sector 54 (0x36) offset: 33 (0x21). Of course, finding that yourself won’t be easy. You’ll want a utility created by Fabian Wosar, whose Twitter handle is @fwosar. Download his Petya Sector Extractor utility, save the zip file to your desktop, extract the file, and the run PetyaExtractor.exe. This program searches the required sectors of your drive to find the proper string of data.

The next step is to go to either of two websites created by Twitter user @leostone. With your browser go here or here. When you open either of @leostone’s sites you’ll see a screen with two boxes for information generated by Fabian Wosar’s extractor utility. Use cut and paste to enter the data in the boxes on either of the websites. Click the Submit button and your decryption key will be generated. Write it down.

The last step involves re-attaching your original hard drive to the infected computer, and re-starting. When you see the Petya screen, enter the key you wrote down. It should be accepted, and your computer should immediately start decrypting. It soon will be as it was before you were infected.

Detailed instructions for the above process are available at BleepingComputer.com. If you find these steps daunting, your best bet will be to call local computer support firms, and find one familiar with this process.

This method of defeating Petya works for now. If the code is changed to subvert this rescue procedure, hopefully people like @leostone and Fabian Wosar can help again.

Bruce Brown
Bruce Brown Contributing Editor   As a Contributing Editor to the Auto teams at Digital Trends and TheManual.com, Bruce…
Google’s Gemini can now make complex topics more fun with new interactive learning feature
Google wants to make learning more fun with interactive Gemini lessons that let you explore complex topics visually.
google-gemini-immersive-exploration

Reading about complicated subjects can get a little dry, especially when diagrams and textbook explanations leave you scratching your head. Google wants to make that experience more fun and engaging with Immersive Explorations, a new Gemini feature that turns complex topics into interactive visual experiences. You can explore everything from ancient trade routes to jet engines, uncovering details layer by layer.

https://twitter.com/GeminiApp/status/2115507092660289631

Read more
OpenAI now lets you text your ChatGPT Dot agent to get things done
ChatGPT Dot can now keep an eye on tasks and send you updates through your regular messaging app.
chatgpt-dot-agent-imessage-rcs

OpenAI is bringing its Dot agent into your regular messaging app, so you can assign tasks without opening ChatGPT. The texting feature is rolling out in beta to ChatGPT Pro users in the US, with support for Apple's iMessage and Android's RCS. You can send your Dot text, photos, and voice messages, and also receive proactive texts when it has relevant updates.

https://twitter.com/ChatGPT/status/2115496387613786374?s=19

Read more
Google’s Gemini 4 Carbon is built for complex coding and cybersecurity tasks
Gemini 4 Carbon currently ranks first on Artificial Analysis' updated Intelligence Index.
google-gemini-4-carbon

Google just dropped its latest AI model, Gemini 4 Carbon, designed to tackle complex coding jobs and cybersecurity threats. The company claims it can work through difficult engineering problems for days, finding hidden bugs and developing fixes across large codebases.

Gemini 4 Carbon also takes the top spot on Artificial Analysis' updated Intelligence Index, scoring 59 points, pushing out Claude Opus 5.5, OpenAI's GPT-6 Astra, and even its own predecessor Gemini 4 Argon.

Read more