r/synology • • Oct 29 '26

NAS Apps Guidelines on the ransomware attacks

271 Upvotes

Synology released the following statement following the attacks:

Synology Product Security Incident Response Team (PSIRT) has confirmed that the impact of the recently disclosed PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) is limited to systems running certain PHP-dependent packages. The affected packages are Calendar, IDrive1, Joomla, KodExplorer, MailStation, MediaWiki, phpMyAdmin, vtigerCRM, Web Station, and WordPress.

Synology has released PHP security updates on DiskStation Manager (DSM) 7.4 and DSM 7.3, as well as the end-of-life DSM 7.2, DSM 7.1, DSM 7.0 and DSM 6.2. Users of the affected packages are strongly advised to update PHP through Package Center immediately. Once the PHP update is complete, dependent packages restart automatically2 and the vulnerabilities are resolved. For systems running DSM versions earlier than 6.2, Synology recommends temporarily disabling the affected packages to mitigate risk before updating to a supported DSM version.

Another (different) advisory is available on this link

https://www.synology.com/en-global/security/advisory/Synology_SA_26_14

So it seems all the current ransomware attacks are caused by outdated software on the NAS. For software that is no longer supported they released patches nonetheless. Update ASAP. If you NAS is no longer eligible for updates, disable all the packages that were mentioned and do not expose to the internet.

General guidelines about avoiding ransomware are:

  1. make sure that all your software is up to data (DSM and all software packages). Apply updates immediately when they become available.
  2. Also make sure your docker containers do not run any vulnerable software. Docker images that didn't get a recent update could be suspect.
  3. Evaluate if you really need to expose your NAS to the internet. Exposing your NAS means you allow direct access from the internet to the NAS through QuickConnect, port forwarding, DDNS, UPnP.
  4. Consider using a VPN (OpenVPN, Tailscale, ...) as the only way for remotely accessing your NAS. This is the most secure way but it's not suitable for every situation.
  5. Disable port forwarding on your router and/or UPnP. This will great reduce your chances of begin attacked. Only use port forwarding if you really know what you're doing and how to mitigate zero day attacks.
  6. Quickconnect is another way to remotely access your NAS. QC is a bit safer than port forwarding, but it still gives hackers access to your NAS without the need for passwords or MFA to exploit any vulnerabilities.

Further important guidelines:

  1. Enable IMMUTABLE snapshots if your system supports them. This will prevent the attackers from resetting your NAS after they encrypted your data. It will also protect your data.
  2. Always have some kind of offline backup. Any online backup could get compromised too, be it on a usb HDD and even a cloud based backup.

r/synology • • Dec 06 '23

Tutorial Everything you should know about your Synology

215 Upvotes

How do I protect my NAS against ransomware? How do I secure my NAS? Why should I enable snapshots? This thread will teach you this and other useful things every NAS owner should know.

Our Synology megathreads

Before you ask any question about RAM or HDDs for your Synology, please check the following megathreads:

Tutorials and guides for everybody

How to protect your NAS from ransomware and other attacks. Something every Synology owner should read.

A Primer on Snapshots: what are they and why everybody should use them.

Advanced topics

How to add drives to your Synology compatibility list

Making disk hibernation work

Double your speed using SMB multichannel

Syncing iCloud photos to your NAS. Not in the traditional way using the photos app so not for everybody.

How to add a GPU to your synology. Certainly not for everybody and of course entirely at your own risk.

Just some fun stuff

Lego Synology. But does it actually work?

Blockstation. A lego rackstation

(work in progress ...)


r/synology • • 4h ago

Networking & security My NAS was hacked via CVE-2026-120382 one day after the fix was released – here's what the attacker did and how to check if you're affected

Thumbnail
gallery
256 Upvotes

I had already prepared this post and just noticed I'm definitely not the only one in this subreddit! So for those who want to read about my situation:

TL;DR: If you're on DSM 7.x and haven't installed the fix for Synology-SA-26:21 / CVE-2026-120382 (OAuth API, CVSS 9.8, pre-auth), update now – or at least deactivate the OAuth Service package. It's being exploited in the wild. 2FA does not protect you. Below are the indicators of compromise and how to check your NAS.

What happened

Last week I got two emails from my NAS within a minute: "Password of [my NAS] has been changed" and "New login to your DiskStation" from an IP geolocated in Pakistan. I wasn't the one logging in. Luckily I was home and pulled the network cables within ~5 minutes.

My setup (yes, I know.. I thought I had disabled the ports in the past):

  • DS716+, DSM 7.2.2-72806 Update 10
  • DSM ports 5000/5001 exposed to the internet
  • Unique, strong admin password + 2FA enabled

Timeline

Date
19 NovSynology publishes SA-26:21. Fix for 7.2.2 "ongoing", workaround: deactivate OAuth Service
25 NovDSM 7.2.2-72806 Update 11 released for my model – with staged regional rollout
26 Nov 13:37:30Admin password changed by SYSTEM – no login before it
13:37:34Login as my admin user from 103.47.145.63
13:38:30New user cvead-<hex> created, description "temporary CVE-2026-120382 admin", added to administrators
13:38:37That user creates a boot-up scheduled task gsocket-<id>-install (user-defined script, runs as root)
13:38Script runs: root backdoor installed
13:42I pulled the cables

The exploit changes the password at system level, so 2FA and a unique password didn't matter at all.

What the backdoor does

The scheduled task script:

  1. Downloads gs-netcat (Global Socket) from https://45.158.196.75:80/assets/… into /root/.gsocket/
  2. Replaces the root password in /etc/shadow (keeps a copy as /etc/shadow.cvead.<stamp>.bak)
  3. Installs a systemd service gsocket-<id>.service ("Global Socket root management channel") that gives the attacker a root shell through the GSRN relay – no port forward needed, it connects outbound
  4. Sends the new root password and gsocket secret (RSA-encrypted) back to https://45.158.196.75:80/callback/…
  5. The boot task re-installs everything on every reboot

So: once this ran, closing your port forwards is not enough – it calls out.

Indicators of compromise

  • User account cvead- followed by hex, description "temporary CVE-2026-120382 admin"
  • Task Scheduler: gsocket-…-install (Triggered Task, boot-up, root)
  • /root/.gsocket/ with gs-netcat, a .key and a .log file
  • /etc/systemd/system/gsocket-*.service
  • /etc/shadow.cvead.*.bak
  • Processes: gs-netcat -D -q -k … -l -e /bin/sh
  • Network: connections to 45.158.196.75; login from 103.47.145.63 (probably a VPN/proxy, will change)
  • gs-netcat x86_64 SHA-256: 55d141bb2f62c527c3fea3413b8429fed7d52633d0b123b5e611bfa42165229f

Quick check without SSH: Control Panel → User & Group (any cvead-* user?) and Control Panel → Task Scheduler (any gsocket-* task?). Log Center → System: look for "Password of the user [...] was changed" by SYSTEM.

If you find it

  1. Disconnect the NAS from the internet (and ideally from your LAN – a direct cable to one PC works fine).
  2. Disable (don't delete yet) the task and the user, take screenshots, export logs.
  3. Assume full root compromise: the only clean fix is a Mode 2 reset (reinstall DSM – your data volumes are kept) with a patched DSM .pat installed offline. Don't restore the system configuration (.dss) or packages from backup – that brings the task and user back.
  4. New passwords for everything that was stored on the NAS (accounts, service accounts, API keys, SSH keys in synced folders, password manager exports…). Certificates on the NAS: request new ones.
  5. Check other machines the NAS could log into (rsync/SSH keys, mounted shares).

What I changed afterwards

  • DSM 7.4.1-90080 Update 2, auto-install updates daily, packages auto-update
  • No DSM ports exposed at all. Public services go through a reverse proxy (Traefik) on a separate box; the NAS web UI is only reachable from my LAN
  • NAS firewall default deny, only what's needed per subnet/IP
  • Separate admin account (with 2FA) – my daily account is no longer an admin; service accounts locked to one IP and one folder
  • Offline (USB) backup kept the clean pre-attack versions – that's what made this a bad evening instead of a disaster
  • VPN for remote access coming once my new gateway arrives

Lessons

  • Don't expose DSM (5000/5001) to the internet. Use a VPN (Tailscale/WireGuard) or at least a reverse proxy with an IP allowlist.
  • 2FA doesn't protect against pre-auth vulnerabilities.
  • Set DSM to auto-install important updates – daily, not weekly. And read the advisories: the workaround (deactivate OAuth Service) was available 6 days before the fix for my version.
  • Keep an offline backup with versions.
  • The NAS's own "New login" and "password changed" emails saved me. Make sure notifications are set up.

I'm just very lucky I was home and not asleep when it happened and was able to act quick.

Edit: Since many people ask: My default admin account was disabled! The attacker did a reset of my personal custom admin account that had 2FA enabled! The logs told me the reset was done by "SYSTEM".


r/synology • • 17h ago

Solved After 15 years, my NAS was hacked Thanksgiving morning.

209 Upvotes

After cooking all morning, I opened my email Thanksgiving afternoon and saw 4 messages in my inbox just after 5 am from synologynotification.com:

3 emails about a minute apart with different codes:

The one-time emergency verification code below can be used for signing in to "SERVERNAME" and resetting your 2-factor authentication. Please enter the 6-digit code on the login page when prompted.

Emergency verification code: "xxxxxxx".

A 4th email came shortly after:

DSM has detected a new login behavior on "SERVERNAME"

DSM on "SERVERNAME" has detected that user "myprimaryaccount" has logged in with a different device or from a different place.
You can log into DSM and go to Security Advisor > Login Analysis for detail information.

Immediately tried to login, incorrect password. Tried again, incorrect password. Pulled the plug, disconnected from the network, and booted it back up. Did the 10 second reset with a paperclip, connected to the network, logged in with default admin account (which had been disabled) and changed passwords, and enabled various security measures (lockout after 2 bad attempts, MFA, etc). I also found a scheduled task than runs at startup with a bunch of code (not savvy with this type of stuff) and deleted it immediately. I noticed constant "IP address has been blocked" notifications so I turned off UPNP and deleted any forwarded ports to my NAS on my router config. The notices stopped. Checked the security adviser log and it showed attempts from various countries trying to login and it was someone from Pakistan or VPN from there that finally got in.

The server had all of our tax records, important documents, etc on it. I have had it up and connected to the internet for 15 years (between 2 different models) with no issue. I've now changed all banking logins, setup MFA, etc. Credit has been frozen for 8 years now, so not worried about that. When I changed my gmail password, I also checked the login logs/activity. All the logins for the previous 2 days were me from my home or phone.

So how did get they get the verification code to login if they weren't in my gmail? Why is this "emergency verification" even a feature on the NAS when you can use the physical reset button to login?

I was up to date on all the patches because of the recent ransomware stuff going on. I know being connected to the internet was a risk, but it was really convenient to use the mobile DS app and Synology Drive to access my files when needed for work/personal reasons while on the go.


r/synology • • 16h ago

Networking & security Please can someone summarise all precautions we need to take to stop our NAS units from getting hacked (other than not exposing to the internet)

116 Upvotes

My NAS serves as storage for my photography business, and on another shared folder, a Plex host (which relies on having ports forwarded to be accessible from outside my network).

I'm seeing lots of 'I told you so' comments from people preaching that NAS units shouldn't be opened up to the internet, but surely this defeats the object of having a NAS. But, perhaps (as someone who isn't particularly technical) I'm missing the point and I'm taking this too literally.

What I'd really appreciate is someone outlining practical steps I can take to stop my NAS being vulnerable to hacking attempts, while still having it accessible from beyond my network.

Thanks!


r/synology • • 6m ago

DSM STOP POSTING about exposing your DS to the internet when Synology sells the DS as a Cloud replacement on the front page of their website. Inform people to enable auto update on DSM / Packages and have Snapshot and Offsite Backups ready with a disaster recovery plan.

4 Upvotes

And if you own a Synology and don't know or don't want to administer it, hire a professional. You have a server to maintain; this isn't Google Drive STaaS solution.


r/synology • • 8h ago

NAS hardware Your annual reminder to clean out your NAS vents!

Post image
16 Upvotes

My Synology 923+ couldn't take the heat anymore and shut itself down at 95°C. Time to check your NAS and blow out that dust!


r/synology • • 3h ago

Networking & security Some advice surrounding these CVE's from a newbie

5 Upvotes

So, I'm not a "noob" to NAS and networking, but I just want to bounce what I am doing off those who are more in the know then I am. Just to make it clear - I have NO port forwarding or anything accessible from the internet directly, there is either a Wireguard VPN or Cloudflare tunnel in place.

I have a DS920+ that sits on my main LAN within my full Ubiquiti networking. I have my IoT things on their own VLAN that cannot get to the LAN (and other VLAN's). Our phones are on their own VLAN and I only allow access to my Immich (running on my Synology) through my internal URL going through my NGINX (not direct IP). The default admin is also disabled and I have my own unique admin and password with 2FA enabled. I also have OAuth service uninstalled.

I have patched to the latest update 2 for my DSM. My NAS ports (the 5000/5001) are unique and the NAS is not accessible from the internet - only my Immich was via my Cloudflare tunnel but I have now removed that tunnel and put a Wireguardinto my UDM Pro that then goes via the URL to my Immich (again, routing through NGINX).

On my switch, on the port the NAS is connected to, I have set the default port to LAN and tagged traffic from my phones can reach that port are allowed, everything else is blocked (IoT, Guest, Servers etc).

Is there anything I can do to my NAS to help keep it more secure other then disconnect the port when I don't need to access it? My TrueNAS I have running on my server VLAN (this runs my Jellyfin which I access externally (not an open port etc)). This NAS holds my Immich which is backing up our photos of our daughters, family photos and vital documents which are backed up to 3 cloud locations, a local hard drive I rotate between 2 other drives at 2 different locations.

Any constructive input is gratefully appreciated, thank you!


r/synology • • 3h ago

Networking & security Can I safely disable OAuth ?

4 Upvotes

Been reading about all the recommendations for protection and a few times I've seen OAuth mentioned. What I understand is, OAuth allows third party apps to access DSM services via tokens.

My NAS is updated, I don't use QuickConnect, no ports are forwarded and, after a scare a few years ago, I have Tailscale to access Synology Photos and Drive.

Is OAuth required for Tailscale?


r/synology • • 9h ago

DSM Malware?

11 Upvotes

I'm very concerned because I received a warning this morning that my Synology is infected with malware. The scanner found the following entries: 

etc/cron.d/1562
etc/cron.d/b6e7
etc/cron.d/e1bc
etc/cron.d/fb1e
etc/cron.d/synoupdater.task.task

This doesn’t look good to me. What should I do now?


r/synology • • 1h ago

NAS Apps Time Machine, Quotas and High HD Prices

2 Upvotes

I'm running Time Machine on my DS920+ to back-up our household computers and am starting to receive regular notifications that I'm running low on disk space. The next step up for me would be 8TB drives but the prices are ridiculously high. It was originally my understanding (this goes back a couple years) that by establishing a quota for the each TM destination file, TM would begin overwriting the oldest files when the quota is reached. Is this not the case?


r/synology • • 1h ago

Solved DSM - Local Access Only. Any firewall config suggested changes?

Post image
0 Upvotes

- Don't access my NAS remotely.
- Don't use QuickConnect, VPN, or port forwarding.
- Don't use Surveillance Station remotely.


r/synology • • 1h ago

Networking & security Safest way to stream movies and use the photos app?

1 Upvotes

Like everyone I'm getting nervous, but I still want to watch movies within my network and have the photos app backup from my phone and work at least when I am in my network. How do I do that and not be exposed to internet? Currently using plex for media.


r/synology • • 12h ago

Networking & security Port Forwarding with Wireguard

7 Upvotes

Everyone and their siblings say not to use port forwarding. I use NOIP and Wireguard (on Linux) to access my LAN/Synology but it does require a port forwarding entry on my router. To my understanding, without a private key any rouge agent cannot access my network. Linux has UFW firewall and Synology has secure sign in configured with a block list configured for failed log in attempts. QC is disabled.

How secure is this and is there any way to do this without port forwarding, other than Tailscale?


r/synology • • 1d ago

Solved Successfully recovered my DS918+ from the Blue Light of Death using a CH341A programmer WITHOUT desoldering the BIOS chip [Detailed Guide]

81 Upvotes

Synology DS918+ Blue Light of Death — Successful In-Circuit BIOS Recovery

TL;DR: My Synology DS918+ became unresponsive following an interrupted DSM update. I successfully recovered it using a CH341A Pro programmer, a 1.8V adapter, an SOIC8 test clip, NeoProgrammer, and firmware extracted from official Synology DSM packages. I did not have to desolder the BIOS chip. My original DSM installation, storage pool, and data remained intact.

I'm sharing my experience in the hope that it saves someone else from replacing an otherwise recoverable NAS.

Credit Where Credit Is Due

Before getting into the technical details, I want to acknowledge three resources that were instrumental in this recovery.

I also used ChatGPT (OpenAI, GPT-6.2) extensively as a technical reference, research assistant, troubleshooting partner, and binary analysis tool.

ChatGPT assisted with interpreting diagnostic results, developing PowerShell scripts, comparing firmware binaries, constructing the replacement BIOS image, verifying checksums, and ghostwriting this tutorial under my direction.

All physical troubleshooting, electrical measurements, hardware disassembly, programming, reassembly, and operational validation were performed by me.

1. Symptoms

My DS918+ experienced the following symptoms:

  • Continuously blinking blue power LED.
  • Fans spinning.
  • No startup beep.
  • No network connectivity.
  • No response to ping.
  • Not discoverable through Synology Assistant.
  • Reset procedures were unsuccessful.

I removed all four HDDs and both NVMe cache SSDs. This made no difference.

The NAS appeared to be failing during hardware initialization, before DSM could load.

I also attempted to capture diagnostic information through the motherboard's serial debug interface using a CP2102 USB-to-TTL adapter. I received output during startup, but it was garbled and ultimately inconclusive.

2. Equipment and Software

Here is what I used:

  • CH341A Pro BIOS programmer.
  • 1.8V SPI adapter.
  • SOIC8 test clip and ribbon cable.
  • Fluke digital multimeter.
  • Windows 11 computer.
  • NeoProgrammer.
  • WCH CH341PAR driver.
  • PowerShell 7.
  • Syno DSM Extractor GUI by 007revad.
  • Windows Subsystem for Linux (WSL) with Ubuntu.

No soldering equipment was required for my repair.

3. Identify Your BIOS Chip and Verify the Voltage

WARNING: Incorrect programming voltage can permanently damage your BIOS chip or motherboard. Do not skip this step.

My DS918+ uses the following BIOS chip:

  • Manufacturer: Winbond
  • Model: W25Q128FW
  • Capacity: 128 Mbit / 16 MiB
  • Nominal voltage: 1.8V
  • Operating voltage range: 1.65V–1.95V
  • Full dump size: 16,777,216 bytes

The FW suffix is important. Not all W25Q128 chips operate at the same voltage.

Datasheet:
https://media.digikey.com/pdf/Data%20Sheets/Winbond%20PDFs/W25Q128FW_Rev.K_May18%2C2017.pdf

The standard SPI SOIC8 pin assignments are:

PinFunction
1Chip Select (CS#)
2Data Out (MISO)
3Write Protect (WP#)
4Ground
5Data In (MOSI)
6Clock
7HOLD#
8VCC

I used my Fluke multimeter to verify that the 1.8V supply was reaching the test clip.

Be aware that some CH341A programmers have voltage design limitations. A proper adapter must provide appropriate supply voltage and SPI signal-level translation. Measuring the DC supply voltage alone does not prove that all signal voltages are safe.

4. Prepare the Motherboard

I completely removed the motherboard from the NAS chassis.

Before connecting the programmer:

  1. Disconnect all external power.
  2. Disconnect USB, Ethernet, and other cables.
  3. Remove the CMOS battery.
  4. Place the motherboard on a suitable nonconductive, ESD-safe surface.
  5. Verify zero volts between pins 4 and 8 of the BIOS chip.
  6. Verify 1.8V at the programmer's test clip.
  7. Confirm the correct pin 1 orientation.

Never externally power the motherboard while the programmer is connected.

In-circuit programming can potentially backfeed other motherboard components. My motherboard was successfully programmed in circuit, but this does not guarantee the same result on every board revision.

5. Verify the CH341A Programmer in Windows

Install the WCH CH341PAR driver:

https://www.wch-ic.com/downloads/CH341PAR_EXE.html

Do not confuse this with the CH341SER serial communication driver.

The programmer does not need to appear as a COM port in Windows Device Manager.

I verified detection using PowerShell:

Get-PnpDevice -PresentOnly |
    Where-Object {
        $_.InstanceId -match 'VID_1A86' -or
        $_.FriendlyName -match 'CH341|CH340|WCH|USB-EPP'
    } |
    Format-Table Status, Class, FriendlyName, InstanceId -AutoSize

My programmer was detected as:

Status: OK
Class: WCH
Device: USB-EPP/I2C... CH341A
VID: 1A86
PID: 5512

NeoProgrammer displayed:

Current programmer: CH341 Black

Attempting to detect a chip before connecting the clip returned "IC not responding." This was expected.

After connecting the clip to the BIOS chip, NeoProgrammer successfully detected the Winbond W25Q128FW.

6. Back Up the Original BIOS

DO NOT ERASE THE BIOS CHIP YET.

I performed three independent reads of the original chip using NeoProgrammer and saved them as:

DS918-BIOS-Original-Read01.bin
DS918-BIOS-Original-Read02.bin
DS918-BIOS-Original-Read03.bin

Each file was exactly 16,777,216 bytes.

I verified the file sizes and hashes using PowerShell:

Get-ChildItem .\DS918-BIOS-Original-Read*.bin |
    Select-Object Name, Length

Get-FileHash .\DS918-BIOS-Original-Read*.bin `
    -Algorithm SHA256 |
    Format-Table Hash, Path -AutoSize

All three independent reads produced the same SHA256 hash:

31352BC1A1A81EEC7F96CDEA60F58A4CC8FAEAD3ED184DC6F4B32AC1D3E2BB87

Matching hashes established that I was consistently reading the physical BIOS chip.

They did not establish that the firmware itself was healthy.

Keep multiple copies of your original BIOS dump. It is your rollback option if the recovery attempt fails.

7. Obtain the Official Synology BIOS Firmware

This is where 007revad's Syno DSM Extractor GUI became particularly valuable.

Repository:
https://github.com/007revad/Syno_DSM_Extractor_GUI

Releases:
https://github.com/007revad/Syno_DSM_Extractor_GUI/releases

The application uses WSL and Ubuntu to extract the contents of Synology DSM packages.

The general process is:

  1. Download an official DSM package for your DS918+.
  2. Install WSL and Ubuntu following the extractor's documentation.
  3. Install and configure Syno DSM Extractor GUI.
  4. Extract the DSM .pat package.
  5. Locate the bios.ROM file.

Official Synology downloads:
https://www.synology.com/en-global/support/download/DS918%2B

I extracted BIOS files from two official DSM packages:

  • DSM 7.1.1-42962 Update 9
  • DSM_DS918+_90080

Both BIOS files were identical.

The official bios.ROM file was 9,142,600 bytes with the following SHA256 hash:

A21E3872A0FAA6E2FED9C693D544A026E40493C0A419A696C69C7BCB05C6BE99

Notice that this is considerably smaller than the physical 16 MiB BIOS chip.

Do not simply write bios.ROM directly to your BIOS chip.

The official update contains additional data that must be removed to correctly align the firmware.

8. Compare the Original BIOS with the Official Firmware

This was the most interesting part of the recovery.

The original BIOS dump contained the Intel Flash Descriptor signature at offset 0x10:

5A A5 F0 0F

The firmware analysis identified an approximately 8 MiB mapped firmware layout within the physical 16 MiB chip.

The upper 8 MiB of my original dump was entirely zero-filled.

The official Synology update contained an embedded 8 MiB firmware payload with additional header and footer data.

Using binary comparison, the following offsets were identified for my specific bios.ROM file:

ParameterValue
Official file size9,142,600 bytes
Firmware start offset0xAD1D0
Header size709,072 bytes
Embedded firmware size8,388,608 bytes
Firmware end, exclusive0x8AD1D0
Footer size44,920 bytes
Full-chip image size16,777,216 bytes

These offsets are specific to the official firmware file identified by the SHA256 hash above.

Do not assume that other Synology firmware packages use these same offsets.

9. An Unexpected Finding

The main BIOS region in my original dump already matched the official Synology firmware byte for byte.

Initially, ChatGPT recommended against reflashing the BIOS because the main firmware appeared intact.

However, the analysis identified differences concentrated within the Intel Device Expansion 1 region:

Start: 0x6FF000
End:   0x7FEFFF
Size:  1 MiB

There were 648,678 differing bytes in this region, representing approximately 3.87% of the entire physical flash chip.

The original firmware contained structured data in this region, including an Intel Flash Partition Table signature.

The corresponding region in the official Synology firmware was entirely filled with FF bytes.

After revisiting the RetroSpector78 video, I decided to attempt a controlled firmware replacement despite the main BIOS region already matching.

The replacement would reset this persistent firmware region using the contents of the official Synology firmware.

This was experimental. We did not know whether it would resolve the failure.

10. Reconstructing the Replacement BIOS

The replacement image was constructed by:

  • Extracting the aligned 8 MiB firmware payload from the official bios.ROM.
  • Placing that payload at offset zero.
  • Preserving the upper 8 MiB of my original physical BIOS dump.

Conceptually:

Official bios.ROM:

[ Header ][ 8 MiB firmware ][ Footer ]

Replacement BIOS:

[ Official 8 MiB firmware ][ Original upper 8 MiB ]

Total: 16 MiB

The following PowerShell script documents the exact reconstruction performed for my recovery.

IMPORTANT: This script intentionally checks both source hashes. Your original BIOS dump will likely have a different hash. Do not remove the validation checks and blindly run it against another motherboard's firmware.

The script is provided to document and reproduce my specific repair, not as a universal BIOS recovery utility.

$Original = ".\DS918-BIOS-Original-Read01.bin"
$Official = ".\bios.ROM"
$Output = ".\DS918-Recovery-Experimental-16MiB.bin"

$ExpectedOriginalHash = "31352BC1A1A81EEC7F96CDEA60F58A4CC8FAEAD3ED184DC6F4B32AC1D3E2BB87"

$ExpectedOfficialHash = "A21E3872A0FAA6E2FED9C693D544A026E40493C0A419A696C69C7BCB05C6BE99"

if ((Get-FileHash $Original -Algorithm SHA256).Hash -ne $ExpectedOriginalHash) {
    throw "Original BIOS hash mismatch."
}

if ((Get-FileHash $Official -Algorithm SHA256).Hash -ne $ExpectedOfficialHash) {
    throw "Official firmware hash mismatch."
}

$OriginalBytes = [IO.File]::ReadAllBytes(
    (Resolve-Path $Original).Path
)

$OfficialBytes = [IO.File]::ReadAllBytes(
    (Resolve-Path $Official).Path
)

if ($OriginalBytes.Length -ne 16777216) {
    throw "Unexpected original BIOS size."
}

if ($OfficialBytes.Length -ne 9142600) {
    throw "Unexpected official firmware size."
}

$FirmwareOffset = 0xAD1D0
$FirmwareLength = 0x800000

$Recovery = [byte[]]($OriginalBytes.Clone())

[Array]::Copy(
    $OfficialBytes,
    $FirmwareOffset,
    $Recovery,
    0,
    $FirmwareLength
)

if (Test-Path $Output) {
    throw "Output already exists."
}

[IO.File]::WriteAllBytes(
    (Join-Path (Get-Location).Path "DS918-Recovery-Experimental-16MiB.bin"),
    $Recovery
)

Get-Item $Output | Select-Object Name, Length
Get-FileHash $Output -Algorithm SHA256

The reconstructed image was exactly 16,777,216 bytes.

Its SHA256 hash was:

586C03C6B0D46F243527275DA6C832C1A60D9DB5552E53A3B69EB533B13B6551

11. Programming the BIOS Without Desoldering

With the motherboard completely disconnected from power and the CMOS battery removed, I connected the programmer through the 1.8V adapter and SOIC8 clip.

I performed the following operations individually in NeoProgrammer:

  1. Detect IC.
  2. Select the W25Q128FW.
  3. Load the reconstructed 16 MiB BIOS image.
  4. Erase memory.
  5. Perform erasure control (blank check).
  6. Program memory.
  7. Verify memory.
  8. Perform a new independent read.
  9. Save the read-back to a separate file.

All operations were successful.

Here is the programming log:

Erasing memory...
Success
Execution time: 00:01:02.744

Erasure control...
Success
Execution time: 00:02:23.865

Programming memory... Main Memory
Success
Execution time: 00:05:14.947

Verify memory...
Success
Execution time: 00:02:23.925

Success
Execution time: 00:02:31.951
CRC32 = 0x510845E5

I independently verified the newly read BIOS against the intended replacement image.

All 16,777,216 bytes matched.

The SHA256 and CRC32 checksums also matched.

At this point, I knew the intended replacement firmware had been successfully written to the physical BIOS chip.

12. The Moment of Truth

I disconnected the programmer, removed the clip, and reassembled the NAS.

I deliberately left all HDDs and NVMe drives disconnected for the initial startup test.

I pressed the power button.

The blue LED began blinking.

Then, after several days of troubleshooting, I finally heard the startup beep.

THE BLUE LED WENT SOLID!

Synology Assistant subsequently discovered the NAS on my network.

I couldn't believe it actually worked.

13. Restoring the Original Storage

After confirming successful startup and network discovery, I shut down the NAS and reinstalled all four original HDDs in their original bay order.

I left the NVMe cache drives disconnected for the initial restoration.

The NAS started normally.

I verified:

  • DSM accessibility.
  • Original storage pool.
  • Original volume.
  • Network connectivity.
  • Data accessibility.
  • Successful completion of an overnight disk check.

Everything was working again.

I did not have to initialize the drives, create a new storage pool, or reinstall DSM.

My original data survived the entire repair.

14. Additional NVMe Troubleshooting

I wanted to verify that the BIOS repair hadn't affected the PCIe subsystem.

After reinstalling my two Samsung SSD 980 500GB NVMe cache drives, DSM only recognized one.

Initially, I was concerned this might be related to the BIOS recovery.

Using SSH, I ran:

ls -l /dev/nvme*
ls -l /sys/class/nvme/
sudo lspci -nn
sudo dmesg | grep -i nvme

Both SSD controllers were detected on the PCIe bus:

02:00.0 Class [0108]: Device [144d:a809]
03:00.0 Class [0108]: Device [144d:a809]

However, one failed to initialize:

nvme nvme1: Device not ready; aborting initialisation
nvme nvme1: Removing after probe failure status: -19

I recorded the serial number of the working SSD, shut down the NAS, physically swapped the two SSDs, and checked again.

The failure followed the suspect SSD.

PCIe addressBefore swapAfter swap
02:00.0WorkingFailed
03:00.0FailedWorking

The same physical SSD worked in both slots.

This confirmed that both motherboard M.2 slots remained functional and strongly indicated a separate problem with the suspect SSD.

I have not yet determined whether that SSD is permanently defective or has a recoverable controller or firmware problem.

15. Final Results

  • Blue Light of Death resolved.
  • BIOS successfully recovered.
  • No BIOS chip desoldering required.
  • Startup beep restored.
  • Solid blue LED restored.
  • Network connectivity restored.
  • Synology Assistant discovery restored.
  • DSM restored.
  • Original storage pool intact.
  • Original data accessible.
  • Overnight disk check completed.
  • Both motherboard M.2 slots verified operational.
  • Separate suspect NVMe SSD identified.

The BIOS recovery is complete.

16. Lessons Learned

Back up everything before changing anything.

Three independent, matching BIOS dumps gave me confidence in the reliability of the programmer connection and provided a potential rollback option.

Verify your voltage.

The W25Q128FW requires 1.8V. Do not assume that a programmer or adapter is safe simply because it physically fits the chip.

Use official firmware when possible.

007revad's DSM extractor allowed me to obtain firmware directly from official Synology packages.

Official update files are not necessarily complete flash images.

Firmware offsets, headers, footers, padding, and device-specific data must be considered before writing anything.

An apparently intact main BIOS does not rule out other firmware problems.

In my case, the main BIOS region matched the official firmware. The recovery succeeded after replacing a region containing persistent firmware data. The exact corruption mechanism remains unconfirmed.

Verify the actual programmed contents.

A successful programming message isn't enough. Perform an independent read-back and compare it against the intended replacement.

Do not assume every subsequent hardware problem is related to the BIOS repair.

The NVMe issue was isolated through a controlled physical swap rather than unnecessarily reflashing the BIOS again.

Final Thoughts

What initially appeared to be a completely bricked Synology DS918+ turned out to be recoverable using relatively inexpensive equipment, existing community resources, careful troubleshooting, and AI-assisted firmware analysis.

I am particularly grateful to RetroSpector78, the creator of the CH341A programming tutorial, and 007revad for making their knowledge and tools available to the community.

I also want to acknowledge ChatGPT for assisting with the research, binary analysis, firmware reconstruction, verification, and ghostwriting of this tutorial.

Hopefully, someone else experiencing the Blue Light of Death will find this useful before spending hundreds of dollars replacing their NAS.

Back up first. Verify everything. Change one thing at a time.

Disclaimer: This is not an official Synology repair procedure. It documents one successful recovery on my particular DS918+ motherboard. Different motherboard revisions, firmware versions, flash chips, and failure mechanisms may require different procedures.

In-circuit programming carries electrical risks. Incorrect voltage, firmware alignment, or programming can permanently damage the motherboard.

Do not use another device's entire BIOS dump without understanding its contents. Do not assume my firmware offsets apply to your firmware version. Preserve your original device-specific data and maintain verified backups.

Proceed at your own risk.


r/synology • • 3h ago

DSM Basic question

1 Upvotes

I’m not very technical but have been successfully using these products for years- one at my office and one at home using hyper sync. Having DS file is convenient and the ability to log in when I need a file remotely is nice but could get away without my unit online. The question is, can I disconnect it from the Internet from within the DSM or maybe schedule it just to connect to the Internet to do backups or do I have to actually unplug the network cable. All this talk about losing all my data and open ports is making me nervous. Thanks for any simple answers.


r/synology • • 15h ago

Solved Synology change that seems to have fixed a lot of issues.

8 Upvotes

Been seeing Ransome ware stories here and seeing other issues of people being compromised. one take away I got was, they did not keep up to date on patched and updates. I did not install and forget. I keep the Patches and updates current. my notifications keep coming in so i knew bots and bad guys were trying to find a way in. I used security advisor a lot. and many times I still got alerts. last week I went in to advanced settings and changed the settings from home/ Personal use to business use. then reran the scans. The scan revealed a bunch of holes in my system. I fixed them till everything was green. It did slow down access slightly from my lan. nut my remote access was not affected much. but Ill be DAMNED. all the warnings and blocked ips all but up and disappeared. this leaves me to this issue. why is home less secure than business? does synology assume people like me will not use features businesses use? not a complaint. Just an observation. i know bots and bad guys are still trying. but now its is much harder for them.


r/synology • • 13h ago

Networking & security remote Hyper Backup without opening ports

4 Upvotes

There is a lot of talk about not exposing synology to the internet (don't open ports).
How would one go about setting up Hyper backup to a remote location without opening ports.
if VPN/Wireguard, how do you go about setting it up.


r/synology • • 16h ago

Networking & security Tailscale???

3 Upvotes

I see a lot of people recommending tailscale. I know it’s some kind if vpn but don’t know anything else about it.
How do you set it up? What if any are the downsides of using it?

Explain it as if I pretty much no nothing about networking pkease.


r/synology • • 4h ago

NAS Apps I built a tool that finds photos on my Synology by example image (and catches resized duplicates), developer here, looking for feedback

Post image
0 Upvotes

Disclosure first: I'm the solo developer of this app, it's a paid product (yearly licence, 30-day free trial). Mods, feel free to remove if this doesn't fit.

The problem I had

I'm a photographer and all my shoots live on a Synology. Synology Photos is great for timeline, albums and sharing, but two things kept biting me:

  1. There's no "find images that look like this one". Similar shots only get stacked if they were taken within ~12 hours of each other.
  2. It only sees the personal "Photos" folder and the shared "photo" space. My client archives, project folders and backups live in other shares.

Storage Analyzer helps with duplicates, but only for byte-identical files, not for the resized/exported/converted copies that pile up after years of shooting.

What I built

A desktop app for Mac (Apple Silicon) and Windows that indexes any share you mount via SMB:

  • Paste or drop an example image → every visually similar file across all indexed shares, regardless of date or folder
  • Keyword search on image content ("beach", "red car") without tagging anything
  • Duplicate finder that also catches resized, renamed or converted copies; you review and decide what goes to the Trash
  • Optional people & pet recognition, full-text search in PDFs/DOCX
  • All AI runs on your computer (MLX on M-series Macs, GPU on Windows). The NAS only serves files, nothing is uploaded to any cloud, the index stays on your local drive.

Honest limitations

  • It doesn't run on the NAS itself (no DSM package / Docker). Your Mac or PC does the work.
  • No map/places view. Synology Photos is better for that, and I use both side by side.
  • The first index of a big library takes a while (it's reading every image over the network once).
  • Paid after the trial.

What I'd love to know from this sub

  • How do you currently find a specific photo or clean up duplicates on your NAS?
  • Would you rather have this as a container on the NAS, or is "computer does the work, NAS stays cool" the better trade-off for you?

Link if you want to have a look: https://intelligente-suche.cook-ui.de/en/synology-fotos-finden?ref=reddit-synology

Happy to answer anything, including the technical side (embeddings, SMB indexing, how duplicates are matched).


r/synology • • 21h ago

Tutorial Think I messed up new hdd!

5 Upvotes

Hi guys, I’m an idiot and just made a huge fatal mistake and looking for some advice if it’s not too late?. I had a spare drive going from another nas so turned off my ds220j and taken out the 4tb hard and replaced it with a used 12tb one to go along side the other 12tb that’s in there. So I did the swap and turned it on and that where things went wrong as the software wanted to do a migrate process. So I reluctantly agreed and set about installing the firmware but it seems everything is gone now. Is there a way to get the files back or is it toast? I have taken the newer drive out and it wants to install the firmware again. Is there a way to do this without loosing all the files that was on there or is it too late? I have a recent back up but just wanted to.save the day or two to copy it back over again that’s all. Thanks


r/synology • • 13h ago

Networking & security Tailscale

1 Upvotes

I installed tailscale today and set it up. Turning off quick connect is concerning because it doesn't seem to quite work right. It sent a push notification and one to ds finder, but when I tapped yes it didn't work. I had to push an emergency code to my email, any idea how I fix this?

Also, accessing it on the web from mobile doesn't let you see pictures. I ended up just using drive with my tailscale ip, is this the way?


r/synology • • 21h ago

NAS hardware The DS925+ vs DS925neo+

2 Upvotes

The only difference I can see between the two is ECC RAM. The 925 has it. The 925neo does not. Is there any other difference that I am missing? I did a quick product compare on the synology site and that was all I could see.


r/synology • • 18h ago

NAS hardware Synology 425+ Bootup Noises

1 Upvotes

Bought a Synology 425+ and populated it with two Seagate 12TB drives. Is this a typical noise during boot-up? Sounds odd.

https://imgur.com/gallery/synology-425-bootup-noises-078uwrg