Running Fedora live from DVD. Want to Save all settings i made. How? Short answer
Assistant
You cannot save settings made during a Fedora Live session directly back to the DVD, as DVDs are read-only media. Changes are temporary and lost upon reboot or shutdown.
To save settings between sessions, you need to create a Fedora Live USB drive with persistence enabled during its creation.
User
But can Fedora live usb sticks be Infiltrated by malware? DVDs can Not!
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
You are correct that finalized DVDs are read-only, making them inherently resistant to having malware written onto the DVD itself after creation.
Regarding Fedora Live USB sticks:
Without Persistence: A standard Fedora Live USB (created without a persistent storage area) behaves much like a DVD. The main operating system files are on a read-only partition. While malware could potentially run in the computer's memory (RAM) during the live session if you execute it (e.g., by downloading and running a malicious file), it cannot write itself back to the main system partition on the USB drive. Any changes, including malware infections in RAM, are wiped clean upon reboot.
With Persistence: This is where the risk changes. When you create a Fedora Live USB with persistence, you designate a part of the USB drive as a read/write area to save settings, installed applications, and user files. If malware is executed during a session with persistence enabled, and it gains sufficient permissions, it could potentially write itself or malicious files to that persistent storage area. This means the malware could survive a reboot and be present in subsequent sessions started from that specific USB drive.
In summary:
DVDs: Very high resistance to infection of the media itself due to being read-only. Malware run during the session is temporary (RAM only).
Live USB (no persistence): High resistance to infection of the core OS on the USB. Malware run during the session is temporary (RAM only). Similar security profile to a DVD regarding media integrity.
Live USB (with persistence): The persistent storage area is read/write and can potentially be infected by malware executed during the session, allowing the malware to persist across reboots on that specific USB. The core OS partition generally remains read-only.
So, yes, a Fedora Live USB stick with persistence enabled has a potential pathway for malware infiltration that a DVD or a non-persistent Live USB does not.
User
Hence I DO NOT WANT TO CREATE A LIVE USB STICK. Either Tell me which files and Folders from my live Environment i have to manually copy in Order to have These settings Read to copy into any Future live Fedora OS I am Running from DVD. OR Tell me if I can create another (customized) LIVE FEDORA DVD from where I am now! SHORT ANSWER! I AM AN IT PRO so stop explaining.
Assistant
Okay, here are the short answers:
Files/Folders to Copy: The primary location for user-specific settings in the live environment is /home/liveuser/. You would need to copy this entire directory (including hidden files/folders like .config, .local/share, .mozilla, etc.) to external storage before shutting down the live session[1][2]. Then, in a new live DVD session, copy the saved /home/liveuser/ contents back into the /home/liveuser/ directory of the new session[2]. Note: This is manual and doesn't capture system-wide changes or newly installed applications outside the home directory. User account information itself is usually in /etc/passwd and /etc/shadow, but modifying these directly in a live session and transferring them isn't standard practice for this purpose[3][4]. Flatpak application data would be in /home/liveuser/.var/app[5].
Create Customized Live DVD from Running Session: No, you generally cannot create a customized, bootable Fedora Live DVD/ISO directly from the currently running Live DVD environment itself capturing its live state[6][7]. Tools like livecd-creator or livemedia-creator are typically used on an installed Fedora system or dedicated build environment, using kickstart files to define the packages and configurations before building the ISO[8][6][9]. Capturing the live overlay filesystem state and making it bootable isn't a standard feature of these tools.
User
"Include your custom packages, config files, and scripts in the kickstart." I do Not want to manually search for These changes. I JUST WANT TO HAVE WVERYTHING SAVED AS IT IS.
Assistant
Okay, understood.
Directly saving the entire current running state of your Fedora Live DVD session (including all temporary changes in RAM) into a new bootable ISO/DVD is not a standard feature or a straightforward process provided by Fedora tools.
The live system runs with changes stored in a temporary RAM overlay. Tools for creating Fedora ISOs (livecd-creator, livemedia-creator) work by building an image from packages and configurations defined beforehand (e.g., via kickstart), not by capturing the live, running state from RAM. There isn't a built-in "snapshot running live session to new ISO" function.
User
Well. Forgot Everything
Assistant
Okay, understood.
Given the limitations:
You cannot save changes back to the running DVD.
You cannot easily capture the entire live RAM state into a new bootable DVD.
You don't want to use USB persistence.
You don't want to manually copy configuration files.
Then, unfortunately, there isn't a straightforward way within the standard Fedora Live environment to achieve your goal of saving all settings and customizations made during the session exactly as they are, directly onto a new bootable DVD medium. The changes made in the live session are temporary and designed to be discarded on shutdown.
User
Assume I want to install Fedora Os on an SD Card which has a physical Read-Write-lock-Switch on its side. Would this be possible? And could I then run Fedora with the Write-lock enabled? And Switch to Write-allowed within a Session? Do such switches reliably Act like a proper Hardware-Write-Blocker would?
Assistant
Okay, let's address installing Fedora on an SD card with a physical write-lock switch:
Installation Possible? Yes, you can install Fedora onto an SD card just like you would onto a USB drive or internal drive. The installer will see it as a block device. However, be aware that SD card performance (especially random I/O) and endurance (write cycles) are generally much lower than SSDs, which can lead to a slower, less responsive system and potentially a shorter lifespan for the card under heavy OS use.
Run with Write-Lock Enabled? No, a standard Fedora installation cannot run properly with the write-lock switch enabled. A running operating system constantly needs to write data: log files, temporary files, filesystem journal updates, user settings, application caches, etc. Booting or running with the hardware lock enabled will quickly lead to errors, instability, and likely system failure as processes fail when they attempt to write. This is fundamentally different from a Live medium which uses temporary overlays (often in RAM) for writes.
Switching Mid-Session? This is highly discouraged and unreliable:
Switching to Write-Allowed: The OS might not recognize the change immediately without specific commands (like trying to remount the filesystem read-write). Even if it did, applications might be in a state expecting read-only access.
Switching to Write-Locked: This is very dangerous. If the OS or any application attempts a write operation (which happens constantly in the background) after you physically engage the lock, the write will fail at the hardware level. This can cause immediate application crashes, filesystem corruption, data loss, and potentially kernel panics. The OS expects writes to succeed on a mounted read-write filesystem.
Switch Reliability vs. Hardware Write-Blocker: The physical switch on an SD card is not equivalent to a dedicated hardware write-blocker (like those used in digital forensics).
Mechanism: The switch typically tells the SD card reader hardware to signal "write-protected" to the operating system. It relies on the reader correctly interpreting the switch and honouring the protection.
Reliability: While generally effective for preventing accidental writes or standard OS operations when respected by the reader, it's not foolproof. A faulty, malicious, or non-compliant card reader could theoretically ignore the switch's position. Dedicated hardware write-blockers intercept commands at the bus level (USB, SATA, etc.) providing a much stronger guarantee.
User
So basically a Fedora Boot usb Stick with persistence and NO Write-lock-Switch is just as safely orotected against hardware-Level-Infiltration as a Fedora boot sd card WITH a Write-lock-Switch ?
Assistant
Let's clarify the comparison regarding protection against hardware-level infiltration during an active session where settings can be saved:
No, the Fedora boot SD card with a write-lock switch (which must be set to "write-allowed" for persistence or a standard install to function) is not inherently safer against malware infiltration during that active session than a Fedora boot USB stick with persistence enabled (and no physical switch).
Here's why:
Requirement for Writes: For persistence (on USB or SD) or a standard installation (on SD) to work and save settings, the operating system must be able to write to the storage medium.
Switch Position During Use: On the SD card, to allow the OS to function normally and save settings, the physical write-lock switch must be in the "unlocked" or "write-allowed" position.
Vulnerability: When the SD card switch is in the "write-allowed" position, its protection is effectively off. At this point, if malware gains sufficient privileges within the running Fedora session, it can write to the SD card's persistent partition or filesystem just as easily as it could write to the persistent partition on the USB stick.
Switch's Limited Role: The SD card's write-lock switch primarily offers protection against accidental writes or modification when the card is not actively being used by the OS in a read-write mode (e.g., when it's powered off or mounted read-only). It cannot protect against malicious writes initiated by software running within the OS when the switch is physically set to allow writes.
In conclusion: During an active Fedora session where you are saving settings (requiring persistence or a full install), both the USB stick with persistence and the SD card with its switch unlocked have the same vulnerability profile regarding malware writing to the storage medium via software compromise. The physical switch on the SD card provides no additional hardware-level protection in this specific operating state.
User
"It cannot protect against malicious writes initiated by software running within the OS when the switch is physically set to allow writes." But what if i install Fedora with persistence on a micro-sd -card in an sd-adapter which has a Write-lock-switch DISABLED, completely offline, make all my personal customizations, then Save it. And then restart it with the Write-block ENABLED.... would THIS work? Also: WOULD THIS PROTECT ME AGAINST hardware-Level-infiltration?
Assistant
Let's break this down:
Setup Phase (Offline, Switch Unlocked): Yes, you can install Fedora with persistence to the MicroSD card (in the adapter with the switch unlocked) while offline, and make all your customizations. The system will write these changes to the persistent partition on the card as expected.
Running Phase (Switch Locked):
Will it work?Almost certainly NO. When Fedora boots with persistence enabled, it expects to mount and use the persistent partition in read-write mode. It needs this to load your saved settings properly, save new settings during the session, write log files, update temporary files, etc. If the hardware write-lock is enabled before booting, the operating system will likely encounter critical errors very early in the boot process when it attempts the necessary write operations to the persistent partition. It may fail to mount the persistent overlay entirely, or it might boot partially and then crash or become unstable as soon as any background process tries to write data. The system is configured to need write access to that specific partition, and the hardware is denying it.
Would it protect against hardware-level infiltration (malware writing back)?If the system could miraculously boot and run stably (which is extremely unlikely as explained above), then yes, the physical write-lock switch (assuming the SD card reader honours it) would prevent any software running in the OS (including malware) from successfully writing back to the MicroSD card itself. Writes would be blocked at the hardware interface level.
The Core Problem:
You are trying to use a feature (persistence) that fundamentally relies on read-write access to a specific storage area, while simultaneously using a hardware lock to enforce read-only access on that same storage area after the initial setup. These two requirements are contradictory for the running system.
In short: The initial setup works fine unlocked. But booting and running the persistence-enabled system with the write-lock enabled will almost certainly fail because the operating system requires write access to function correctly with persistence. While the lock would prevent malware writes if it ran, it prevents the system from running properly in the first place.
User
Any sophisticated Hacker or malware would outwit the Card Reader and Tell it to ignore the sd-card-adapter-switch, right?
Assistant
That's a nuanced question. Here's the breakdown:
How the Switch Works: The write-lock switch on an SD card adapter is a simple physical mechanism. When engaged, it typically moves a small piece of plastic. The SD card reader has a sensor (often mechanical or optical) that detects the position of this plastic piece. Based on this detection, the reader's firmware/hardware is supposed to signal to the operating system that the card is write-protected and subsequently refuse hardware-level write commands to the card.
Typical Malware: Standard malware running within the operating system (even with high privileges) cannot simply "tell" the card reader hardware to ignore the physical switch's position. The interaction is generally: Physical Switch -> Reader Hardware -> OS Driver. The malware operates at the OS level or above; it doesn't typically reprogram the reader's firmware on the fly to disregard its physical sensors.
Reader Firmware Attack: A highly sophisticated attacker might theoretically attempt to exploit a vulnerability in the card reader's firmware itself (if it's updateable, perhaps via USB). If they could overwrite or modify the reader's firmware, they could potentially make it ignore the physical switch status. This is a complex, hardware-specific attack, far beyond the scope of typical malware, and requires specific knowledge of the reader's chipset and firmware update mechanisms.
Non-Compliant Readers: Some very cheap, poorly designed, or faulty SD card readers might simply not implement the write-lock detection correctly or ignore it altogether in their hardware/firmware. In this case, the switch does nothing, regardless of malware. This isn't malware "outwitting" the switch, but the reader failing to honor it.
OS Driver Manipulation: Malware with root/administrator privileges could potentially interfere with how the operating system driver interprets the signal from the reader. It might make the OS think the card is writable. However, when the OS then sends a write command, the reader hardware (if it correctly respects the switch) should still reject the command at the hardware level, leading to a write error, even if the OS driver was fooled.
Conclusion:
No, typical sophisticated malware cannot simply "tell" a compliant card reader to ignore the physical write-lock switch through standard software commands. The protection mechanism relies on the reader's hardware correctly detecting the switch and acting upon it.
User
So it would actually be much safer than a "normal" fedora-usb-Stick-Installation (which would have No Write-lock-switch at all) to OFFLINE create a persistent Fedora sd-card-Installation with Write-lock disabled, then make custom settings, Save them, shut down, and then have the Choice to either run Fedora with Write-lock ENABLED (mUCH safer) or DISABLED (just as unsafe as any normal usb-Installation with persistence), right? It seems to me that this is the case, because as I understand you, Even a good Hacker would Not be prepared to have to outwit the sd-card-readers settings respectively it's Firmware. Right?
Assistant
You're right about the potential security difference based on the switch, but there's a critical flaw in the plan:
Offline Setup (Unlocked): This part works perfectly. You can install Fedora with persistence and customize it offline with the SD card switch set to write-allowed.
Running (Locked vs. Unlocked):
Choice A: Running with Write-Lock ENABLED: As established before, this is highly unlikely to work. A system configured for persistence fundamentally relies on being able to write to the persistent storage area during boot and operation (to load/save settings, write logs, temp files etc.). Enabling the hardware write-lock before booting will almost certainly cause boot failures or severe instability because the OS cannot perform these essential writes. So, while it would be much safer against malware writing back if it ran, it almost certainly won't run properly.
Choice B: Running with Write-Lock DISABLED: This will work, allowing Fedora to boot and use the persistence partition normally. In this state, as you correctly identify, it is functionally just as vulnerable to malware writing to the persistent storage as a standard USB stick with persistence. If malware gains control, it can write because the hardware lock is off.
Hacker Difficulty: You are correct that compromising the reader's firmware to bypass the physical switch is a complex, targeted attack, far beyond standard malware capabilities. Most attackers wouldn't be prepared for or capable of this. The switch (when honored by the reader) provides a hardware barrier against software-initiated writes.
The Crux of the Issue:
The concept is sound in theory: set it up unlocked, then run it locked for security. However, the persistence feature itself fundamentally requires write access during runtime. You cannot run a standard persistent installation in a truly read-only hardware state.
So, the situation is:
You can create the customized persistent SD card offline.
You cannot realistically run that persistent setup with the write-lock enabled due to the OS's need to write.
Running it unlocked negates the switch's protection during the session, making it equivalent to a persistent USB stick in terms of vulnerability while running.
Therefore, while the SD card switch could offer protection when the card is offline or if you were running a non-persistent Live system (like from a DVD), it doesn't provide a usable "much safer" running mode for a persistent installation. The need for persistence conflicts with the desire for read-only operation.
User
How reliable is the Fedora-Medium-Self-Test before it boots? Imagine a Hacker achieved to outwit the sd-card-adapter Write-lock-enabled-Status and then has achieved to infiltrate that Installation and modify it to his likings. Would a new restart and a new Self-test Alarm me of the infiltrated State of the Fedora OS i would be about to Boot?
Assistant
Let's break down the Fedora Media Check's reliability in your scenario:
What the Media Check Verifies: The standard Fedora Media Check (usually run via the boot menu option "Test this media & start Fedora...") is designed primarily to verify the integrity of the core operating system files as they were originally written to the medium. It does this by calculating checksums (like MD5 or SHA256) of the main system image file (typically a large SquashFS file containing the bulk of the OS) and comparing them against a known-good checksum value stored elsewhere on the boot medium (e.g., in bootloader configuration files). Its main purpose is to detect accidental corruption (bad download, faulty write process, failing media).
What it Does NOT Typically Verify: This standard check does not verify the contents of the persistent storage partition/overlay. The persistent area is designed to be modified by the user (and potentially malware). The media check's scope is generally limited to the immutable, read-only base system image from the original ISO structure.
Impact of Your Attack Scenario:
Assume the attacker successfully bypasses the write-lock (which is highly unlikely against compliant hardware but we're accepting the premise) and modifies the system while the lock should have been active.
If the attacker only modifies files within the persistent storage area (e.g., adds malware, changes user config files, installs malicious software saved to persistence), the standard Fedora Media Check will almost certainly NOT detect this. The check isn't designed to look there. The base SquashFS file remains unchanged, so its checksum matches, and the test passes.
If the attacker somehow manages to modify the core SquashFS file itself (which is much harder than just writing to the persistent area), then the media check should detect this discrepancy and report an error, unless the attacker was also sophisticated enough to find and modify the stored checksum value to match their altered SquashFS file.
If the attacker modifies bootloader components like the kernel (vmlinuz) or the initial RAM disk (initrd.img) but not the main SquashFS, the standard media check might not detect it, depending on exactly which files it's configured to verify. An attacker could potentially modify these and the checksum file or boot config to evade detection.
Conclusion:
The Fedora Media Check offers good protection against of the base OS image. However, it is of your installation. Since the persistent area is the most likely target for modifications (saving settings, installing software, malware persistence), the media check if an attacker compromised your system by writing malicious files solely to that persistent partition, even if they had to bypass a write-lock to do it. Its focus is on the integrity of the original OS image, not the user-modified persistent data.
User
What does SELinux Protection mean effectively, what scenarios does it Protect me against, and does it run automatically upon every Fedora boot?
Assistant
Okay, let's break down SELinux in Fedora:
What SELinux Protection Effectively Means:
SELinux stands for Security-Enhanced Linux. It's a Mandatory Access Control (MAC) system built into the Linux kernel.
Unlike traditional Linux permissions (Discretionary Access Control - DAC, based on users/groups/others), SELinux enforces security based on policies that define exactly what every process (subject) is allowed to do to every system resource (object), such as files, directories, network ports, devices, etc.
Effectively, it puts every running program into a strictly defined security context (a label) and only allows interactions between contexts (or between a context and a resource's context) if there is an explicit rule in the loaded security policy that permits it.
Think of it as compartmentalization. Even if a program is running as the 'root' user (which normally has full access), SELinux can still restrict what that specific program can actually do based on its assigned context and the policy rules. The goal is least privilege – confining programs to only the permissions absolutely necessary for their function.
Scenarios it Protects Against:
Exploited Services: If a vulnerability is exploited in a network service (like a web server, e.g., Apache/httpd), SELinux aims to limit the damage. Even if the attacker gains control of the web server process, the SELinux policy should prevent that process from:
Reading sensitive files elsewhere on the system (e.g., /etc/shadow, user home directories).
Writing to system binaries or configuration files outside its designated areas.
Connecting to arbitrary network ports or accessing other system resources unrelated to web serving.
Privilege Escalation: If a user-level program is compromised, SELinux can prevent it from modifying critical system files or interacting with kernel interfaces in ways that could lead to gaining root privileges, even if a traditional permission check might allow it (e.g., if the user accidentally runs the malware as root).
Containing Misconfigurations: If a service is accidentally misconfigured in a way that would traditionally make it insecure (e.g., world-writable files), SELinux might still prevent other processes from exploiting that misconfiguration if the policy forbids the interaction.
Zero-Day Exploits: While not foolproof, SELinux provides a layer of defense against unknown vulnerabilities because the of the exploit are limited by the process's context, regardless of it was compromised.
User
Imagine I have a Potentially bios-Level- and Firmware-Level-inflitrated HP ProDesk 400 G5 and I disconnected All Internal and external Drives from it. On The Internal Drive was installed: Windows 11 pro. That machine was in a LAN Business Environment with a potentially infiltrated physical Windows Server 2019 Standard which acted as fileserver and AD-Controller. I then Connect an external HP dvd-burner-Drive to this machine (all Internal Drives removed!) and want to boot live Fedora is from dvd. WOULD FEDORA WARN ME if a uefi- or Hardwares or Firmware-Level compromise would be the case? Would Fedora warn me about auch things or weird malware-actions when Fedora is Running?
Assistant
Okay, let's address this scenario concerning potential deep-level compromise:
Would Fedora Warn During Boot About Firmware/UEFI Compromise?
Generally, No. Fedora itself, during its own boot sequence (loading the kernel, starting services), does not have built-in mechanisms to actively scan and verify the integrity of your machine's underlying BIOS/UEFI firmware for unknown malicious modifications.
UEFI Secure Boot: This is the primary mechanism designed to help here, but it's a firmware feature, not a Fedora feature. If Secure Boot is enabled in the UEFI settingsand the firmware itself hasn't been compromised in a way that bypasses Secure Boot, and the attacker modified Fedora's signed bootloader or kernel, then the UEFI firmware (not Fedora) should prevent booting and potentially display a warning. However, if the firmware itself is the compromised component, it could potentially lie to the bootloader or disable/bypass its own Secure Boot checks, rendering this protection ineffective.
Fedora Media Check: As discussed previously, this checks the Fedora installation files on the DVD, not the computer's firmware.
Would Fedora Warn About Such Things or Weird Malware Actions While Running?
Generally, No. Firmware-level malware operates below the operating system. Fedora (including tools like SELinux) primarily monitors and controls actions within the operating system environment (processes interacting with files, network sockets, etc.).
Stealth: Malware at the BIOS/UEFI level is designed to be stealthy and often has privileged access to hardware that bypasses OS-level security controls. It could potentially:
Intercept keyboard input before it reaches the OS.
Tamper with disk I/O (though you've removed internal drives, it could potentially target the DVD drive or RAM).
Manipulate network traffic via direct access to the network card's hardware/firmware.
Inject code or manipulate processes running within Fedora from its privileged position below the OS.
Detection Difficulty: Detecting these actions from within Fedora is extremely difficult. Fedora might exhibit symptoms of compromise (instability, crashes, unexpected network activity, processes behaving weirdly), but it would typically not be able to specifically identify and warn that these are due to firmware-level malware. Standard OS security tools lack visibility into that layer. Specialized tools for firmware analysis exist, but they are not part of a standard Fedora Live boot and require expert use.
User
That HP prodesk 400 g5 machine has always made Bios-Updates from within its integrated bios-Level bios-update-tool. Everything seems fine, but i am unsure if it is compromised. Please help me understand of These observations Are IoC or irrelevant: a) using (on bios-Level) the integrated HP-Hardware-diagnostics-Update-tool ALWAYS fails mentioning some error, b) bios-Level-bios-Update-tool is always Running fine though, c) there are errors in the bios-Event-history but i Lack Knowledge which Error messages Are IoC or not
Assistant
Okay, let's try to interpret those observations regarding your HP ProDesk 400 G5. Diagnosing firmware-level compromise remotely is very difficult, but we can assess the likelihood based on these points:
a) Integrated HP Hardware Diagnostics Update Tool ALWAYS fails:
Less Likely an IoC: This is more commonly caused by network issues (firewalls on your business LAN blocking access to HP's specific diagnostic update servers, incorrect proxy settings within the UEFI/BIOS environment if applicable) or issues on HP's server-side for that specific tool/model. Diagnostic tools often use different servers or protocols than the main BIOS update tool. It could also indicate corruption specifically within the diagnostics partition/module on the firmware storage, separate from the main BIOS.
Less Common as Malware Tactic: While possible, firmware malware specifically targeting only the diagnostic update while leaving the main BIOS update functional seems overly specific and less likely than simply blocking all updates or trying to remain hidden.
Conclusion (a): While not ideal, this failure is more likely due to environmental factors (network) or a minor module corruption than a sophisticated firmware attack indicator by itself.
b) BIOS-Level BIOS Update Tool is always Running fine:
Reduces Likelihood of Crude Tampering: This suggests that the fundamental mechanism for checking, downloading (if applicable from within UEFI), and flashing the main system BIOS/UEFI hasn't been completely disabled or broken. Basic connectivity to HP's BIOS update servers seems possible from the UEFI environment.
Does NOT Rule Out Sophisticated Tampering: Advanced firmware malware (like LoJax or other UEFI rootkits) could potentially:
Intercept the update process, pretending to flash a new version while keeping the old/malicious one.
Allow flashing but ensuring its own components persist across updates.
Report success even if the flash fails or is modified.
Conclusion (b): This working function makes simple firmware-breaking malware less likely, but it does not guarantee the firmware is clean. A sophisticated implant could allow this to function normally.
c) Errors in the BIOS Event History (Lack of Knowledge):
Potentially Significant, but Needs Details: This is the most crucial point, but impossible to evaluate without specifics. BIOS/UEFI logs track many events:
User
Two more Observations that I Need you to put into perspective for me as I don't know what this might mean: d) on that HP machine a Thor Lite scan output a Score 85 Alert for an APT28 implant detection. e) the physical window Server 2019 Standard within that LAN had once been configured to Act as fileserver and to have HyperV Running a Virtual instance of Windows Server 2019 Standard configured to act as the AD-Controller, but a few days ago i noticed that the HyperV is shut down and that the physical machine has on it's own (without my interference) taken Over the role as the AD-Controller, too.
Assistant
Okay, these two new observations change the picture significantly and need to be taken very seriously:
d) Thor Lite Scan Output: Score 85 Alert for APT28 Implant Detection:
What it means: Thor Lite is a scanner designed to find Indicators of Compromise (IoCs) often associated with Advanced Persistent Threats (APTs). APT28 (also known as Fancy Bear, Sofacy, etc.) is a well-known, sophisticated state-sponsored threat actor group. A score of 85 is typically considered a high-confidence alert, meaning the scanner found strong evidence matching known patterns, tools, or IoCs associated with APT28.
Perspective: This is a Major Red Flag. While false positives are possible with any scanner, a high-confidence alert for a specific known APT group like APT28 on the HP machine is a very strong indicator that the machine was indeed compromised at the operating system level (Windows 11 Pro) when that installation was active.
Relevance to Firmware: While this alert confirms OS-level compromise, it also significantly increases the plausibility of firmware-level compromise. APT28 is a threat actor known to have the capability and occasional history of using sophisticated tools, including UEFI/BIOS rootkits, for persistence. If they compromised the OS, deploying a firmware implant is within their potential toolkit to maintain access even if the OS is reinstalled or the drive wiped/removed. It moves firmware compromise from a theoretical possibility to a much more concrete concern given the likely actor involved.
e) Physical Server Taking Over AD-Controller Role from Hyper-V VM:
What it means: The configuration changed from a recommended setup (DC isolated in a VM) to the physical host running both File Server and AD DC roles, with the original VM DC shut down. This happened without your intervention.
Perspective: This is Extremely Suspicious and another Major Red Flag. Healthy systems, especially critical domain controllers, do not spontaneously reconfigure themselves like this. Possible causes:
Malicious Action (Most Likely): An attacker with administrative control over the physical server likely shut down the VM and promoted the physical host (or enabled pre-existing DC roles on it). Why? Easier persistence, direct access to domain credentials hash database (NTDS.dit) on the host, bypassing potential VM-based security monitoring, or simply as part of consolidating control. This strongly implies the server itself is compromised at an administrative level.
Accidental Admin Action: Possible but less likely that an admin would make such a drastic change accidentally and not notice or correct it.
In summary: You can install Fedora on the SD card, but you cannot reliably run that standard installation with the write-lock switch enabled, nor can you safely toggle the switch during a running session. The switch offers some protection but isn't as robust as a dedicated blocker.
However, the protection is not absolute:
It relies entirely on the card reader correctly implementing and honoring the switch. Faulty or non-compliant readers are a weak point.
Extremely advanced, targeted firmware attacks against the reader itself are theoretically possible but highly unlikely for general malware.
So, while significantly better than no hardware lock, it's not as foolproof as a dedicated, bus-level hardware write-blocker used in forensics, but it does provide a hardware-based barrier that standard software (including most malware) cannot simply bypass by issuing commands.
accidental corruption
not a reliable tool for detecting deliberate tampering or malware infiltration within the persistent storage area
would likely NOT alarm you
consequences
how
Does it Run Automatically?
Yes, SELinux is enabled by default in standard Fedora installations and runs automatically from boot.
It typically runs in "enforcing" mode. This means the kernel actively blocks any action that violates the loaded SELinux policy and logs the denial (often in /var/log/audit/audit.log or via journalctl).
You can check the current status with the command sestatus. It will show if SELinux is enabled and the current mode (enforcing, permissive, or disabled).
In essence, SELinux is a core security feature in Fedora, automatically providing an additional, policy-based layer of protection designed to contain breaches and limit the damage caused by compromised software or configuration errors.
In Summary:
Fedora, as an operating system booting from a DVD, has very limited ability to detect or warn you about pre-existing compromises in your computer's BIOS/UEFI firmware. It largely relies on the firmware itself (via Secure Boot) for pre-boot checks, and its runtime security mechanisms (like SELinux) operate within the OS layer, which can be bypassed by malware running underneath it in the firmware. You would likely not receive any explicit warnings from Fedora about such a deep-level compromise.
Benign/Informational: System boots, configuration changes made by you, USB devices connected/disconnected, brief thermal events that recovered. (Very Common)
Hardware Issues: RAM errors detected, disk errors (from when the drive was connected), fan failures, power interruptions, CMOS battery low/failed. (Common)
Unexpected Reboots/Crashes: Errors indicating unexpected shutdowns or hardware initialization failures during boot. (Potentially significant IoCs).
Malware Possibility: Firmware malware could potentially cause unusual hardware errors, unexpected reboots, or errors related to security modules it's trying to tamper with. Alternatively, sophisticated malware might clear logs or avoid logging its actions.
Conclusion (c): The mere presence of errors isn't automatically an IoC. You need to examine the specific error codes, descriptions, and timestamps. Research these specific codes online in the context of HP systems. Repeated, unexplained critical errors (especially related to boot process, memory, or security modules like the TPM) or logs being unexpectedly cleared would be more suspicious than routine informational or resolved hardware events.
Overall Assessment:
Observation (a) failing while (b) works is slightly odd but more likely network/config related than malicious.
Observation (b) working is mildly reassuring against crude attacks but useless against sophisticated ones.
Observation (c) is critical but requires specific details. This is where potential IoCs might actually be visible if they exist and are logged.
Without the specific error messages from the BIOS log, it's impossible to say definitively. However, based only on (a) and (b), the evidence doesn't strongly point towards a firmware compromise over more mundane explanations. The key lies in analyzing the specific errors in the log.
Catastrophic Error: Highly unlikely that a system error would result in this specific reconfiguration.
Relevance: Confirms a likely compromise of the central authentication and control system (Active Directory) within your LAN. An attacker controlling the DC effectively controls the domain, user accounts, group policies, and can often push malware to connected machines (like the HP ProDesk). This event reinforces the APT28 alert – controlling the DC is a primary goal for such actors after gaining initial access.
Overall Perspective Integrating All Points:
Observations (d) and (e) are strong Indicators of Compromise affecting both the HP endpoint and the critical Windows Server/AD environment. You should operate under the assumption that both are compromised.
The presence of an actor like APT28 (indicated by Thor Lite) means you are dealing with a sophisticated threat capable of advanced techniques, including potential firmware implants.
The strange behavior on the server (e) confirms that the attacker likely achieved high-level privileges (Domain Admin) within your network.
The previous observations about the HP machine's BIOS (a, b, c) are still inconclusive on their own, but viewed through the lens of confirmed APT activity, even minor anomalies become more suspect. The attacker could have tampered with firmware components, potentially causing issues like the diagnostic update failure (a) or leaving unusual log entries (c), while carefully preserving the main BIOS update function (b) to avoid obvious detection.
Conclusion:
Given (d) and (e), you should consider the HP ProDesk 400 G5's firmware potentially compromised. While not definitively proven without forensic analysis, the combination of a high-confidence APT28 detection on the machine and evidence of high-level compromise on the associated network server makes a firmware implant a plausible and serious risk. Booting any OS (even Fedora from a DVD) on that hardware carries a risk that the underlying firmware could interfere with or monitor the session.