syssec-utd / provninja

Evading Provenance-Based ML Detectors with Adversarial System Actions
BSD 3-Clause "New" or "Revised" License
26 stars 8 forks source link

Cannot unzip the dataset in intrusion-detection-system/graph-based/download_sample_supply_chain_data.sh #3

Open JasonBourne1998 opened 5 months ago

JasonBourne1998 commented 5 months ago

Seems I CANNOT unzip the file sample_supply_chain_data.zip in intrusion-detection-system/graph-based/download_sample_supply_chain_data.sh. The file is ruined.

The error is: Host:~/provninja$ unzip sample-supply-chain-data.zip Archive: sample-supply-chain-data.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of sample-supply-chain-data.zip or sample-supply-chain-data.zip.zip, and cannot find sample-supply-chain-data.zip.ZIP, period.

jikk commented 5 months ago

@JasonBourne1998 Thanks for your report. We will have a look and get back to you shortly.

Ming-Xu-research commented 5 months ago

Hi, I am also encountering this problem. May I ask when I can download the testing dataset? Many thanks!

kunmukh commented 5 months ago

Hey @JasonBourne1998 and @Ming-Xu-research,

Thanks for reading our research and interest in our artifact. I apologize for the inconvenience.

While I have not encountered the issue before, I got a quick fix while I updated the main script.

Quick fix:

  1. download the data zip in a Windows env: https://drive.google.com/file/d/1Jz0ZuiZlUEZdAgqlnfmpN2_X0Cms6Sl8/view?usp=sharing
  2. use 7zip to unzip

I was able to download and unzip without issue in the Windows environment.

P.s. I tried all the solutions here, but none of them worked for me: https://askubuntu.com/questions/54904/unzip-error-end-of-central-directory-signature-not-found . So, I am trying to see if I unzip it, do a clean zip and upload it.

kunmukh commented 5 months ago

@JasonBourne1998 and @Ming-Xu-research ,

I created a new zip and could unzip it in a Linux environment on my end.

Can you guys use this link to download the new zipped dataset, https://drive.google.com/file/d/1TyoWb0R8UQcUdq3lGkWa9hwxBEeYaYYX/view?usp=sharing ? Then, try to unzip as usual.

Once you guys confirm, I will update the download script as well :)

JasonBourne1998 commented 5 months ago

@JasonBourne1998 and @Ming-Xu-research ,

I created a new zip and could unzip it in a Linux environment on my end.

Can you guys use this link to download the new zipped dataset, https://drive.google.com/file/d/1TyoWb0R8UQcUdq3lGkWa9hwxBEeYaYYX/view?usp=sharing ? Then, try to unzip as usual.

Once you guys confirm, I will update the download script as well :)

Thanks so much, now I can run through all graph-based detection frameworks.