Search results

  1. E

    Windows 10 Access Violation When Iterating Through SCSI Slots

    I figured it out! By setting ONE BUFFER big enough for BOTH IN and OUT operations of the IOCTL_SCSI_MINIPORT as listed below: PUCHAR Buffer[sizeof(FIRMWARE_REQUEST_BLOCK) + sizeof(SRB_IO_CONTROL) + sizeof(STORAGE_FIRMWARE_INFO)]; And setting the DeviceIoControl Function to use the same buffer...
  2. E

    Windows 10 Access Violation When Iterating Through SCSI Slots

    It would seem that the for-loop is not counting slots incrementally and just doing it in a random order. Particularly strange.
  3. E

    Windows 10 Access Violation When Iterating Through SCSI Slots

    I am getting an access violation when iterating through SCSI HDD's. I'm sure I'm doing something that needs a minor tweak to get it to work properly. Anyone have any ideas on why I'm getting an access violation every time? HANDLE handle = CreateFile("\\\\.\\PhysicalDrive1", GENERIC_READ |...
  4. E

    Windows 10 Why is there a +1 or -1 on a buffer or cast?

    I cannot figure out why +1 or -1 is added to a cast or a buffer such as, firmwareRequest = (PFIRMWARE_REQUEST_BLOCK)(srbControl + 1); as listed on the MSDN page: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/upgrading-firmware-for-an-nvme-device I searched google and could...
  5. E

    Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function

    I found the solution to my problem: I found my program in my filesystem (C:\Users\<username>\source\repos\<projectname>\x64\Debug) and right clicked on the program and in compatibility settings set it to run as administrator. Started Visual Studio up and voila! I now have a valid handle to my...
  6. E

    Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function

    I found the solution to my problem: I found my program in my filesystem (C:\Users\<username>\source\repos\<projectname>\x64\Debug) and right clicked on the program and in compatibility settings set it to run as administrator. Started Visual Studio up and voila! I now have a valid handle to my...
  7. E

    Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function

    I'm afraid, as you said previously, the malware I'm infected with may be blocking requests to make a handle to the drive.
  8. E

    Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function

    I cannot open a handle to any of my storage devices. HANDLE h = CreateFile(L"\\\\.\\PhysicalDisk0", GENERIC_READ | GENERIC_WRITE, FILE_READ_ACCESS | FILE_WRITE_ACCESS, 0, OPEN_EXISTING, 0, 0); I also tried copying the full path from WinObj: \GLOBAL??\PhysicalDrive0 and...
  9. E

    Building a Tool to Access All Firmware on Device

    Is it inaccessible to access device firmware using software? JTAG seems a little extreme
  10. E

    Building a Tool to Access All Firmware on Device

    So, it's not possible to extract firmware, like touchpad firmware?
  11. E

    Building a Tool to Access All Firmware on Device

    I am trying to write a tool that queries all devices on the platform that have firmware. However, I can't find any information on how to access the firmware. Take for example, the Elan Touchpad on my device has firmware. However I can't seem to find a way to access it to extract it and analyze...
  12. E

    Building a Tool to Access All Firmware on Device

    How can I find all the firmware on my device and extract it from each device?
  13. E

    Building a Tool to Access All Firmware on Device

    I am attempting to write a tool that is able to read and write firmware on any hardware device that has firmware. I cannot find any resources on YouTube, Google, or the Windows Developer API. Is it even possible to access any firmware on the Device?
  14. E

    Windows 10 How to enumerate Storage Devices

    I checked my bios by pulling it with an external spi flasher and compared it with a factory image downloaded from computer manufacturers website and checked every module by hex-comparing the backup and the factory image and it does not seem like this would be a SMM rootkit, as all modules found...
  15. E

    Windows 10 How to enumerate Storage Devices

    I want to backup the firmware of the NVMe device, well actually, every single bit of hardware that has firmware so that I can have factory copies of the systems firmware in it's entirety. In the event that I get a firmware based infection, I can just reflash the factory firmwares via an EFI...
  16. E

    Windows 10 How to enumerate Storage Devices

    I want to backup the firmware of the NVMe device, well actually, every single bit of hardware that has firmware so that I can have factory copies of the systems firmware in it's entirety. In the event that I get a firmware based infection I can just reflash the factory firmwares via an EFI...
  17. E

    Windows 10 How to enumerate Storage Devices

    I am trying to build a list of storage devices for this particular section of code found on MSDN page: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/upgrading-firmware-for-an-nvme-device typedef struct _DEVICE_LIST { HANDLE Handle...
  18. E

    Windows 10 Trying to Get Data Stored at Starting Address Designated by a Pointer Variable

    So, I need to create a pointer to the starting address returned by BYTE value = *reinterpret_cast<int*>(pData); //get value at pointed to memory address But the memory address returned in value is not in proper format to create a new pointer pointing to that starting address so that I can...
  19. E

    Windows 10 Trying to Get Data Stored at Starting Address Designated by a Pointer Variable

    Hello, I am developing a Winodws audio program that utilizes the built in Windows Core Audio API. I have an issue where the IAudioCaptureClient is sending a STARTING ADDRESS of an audio frame to pointer pData. I am trying to find out how to read the packet stored at that starting address by the...
Top