ahmedkhlief / APT-Hunter

APT-Hunter is Threat Hunting tool for windows event logs which made by purple team mindset to provide detect APT movements hidden in the sea of windows event logs to decrease the time to uncover suspicious activity
https://shells.systems/introducing-apt-hunter-threat-hunting-tool-via-windows-event-log/
GNU General Public License v3.0
1.26k stars 238 forks source link

Hello, two problems occur in APT-hunter.py when i use option --allreport. This problem is XlsxWriter change his parameter and mehod. #28

Closed sakiro closed 9 months ago

sakiro commented 1 year ago

Hello, two problems occur in APT-hunter.py when i use option --allreport. This problem is XlsxWriter change his parameter and mehod. I try to modify original code to fix it. problem 1 problem1 original code 1 writer = pd.ExcelWriter(Report, engine='xlsxwriter', options={'encoding': 'utf-8'}) modify code 1 writer = pd.ExcelWriter(Report, engine='xlsxwriter') problem 2 (after fix problem 1) problem2

orginal code 2 writer.save() modify code 2 writer.close()

using python 3.11.2 Package Version


evtx 0.8.2 netaddr 0.8.0 numpy 1.24.3 pandas 2.0.1 pip 23.0.1 python-dateutil 2.8.2 pytz 2023.3 setuptools 67.6.0 six 1.16.0 tzdata 2023.3 wheel 0.40.0 XlsxWriter 3.1.0

Originally posted by @sakiro in https://github.com/ahmedkhlief/APT-Hunter/issues/27#issuecomment-1588614470

Lq0ne commented 1 year ago

I got the first error too. Have you solved this problem?

sakiro commented 1 year ago

After modify the APT-hunter.py, it;s gone.

ahmedkhlief commented 1 year ago

Hi ! I will resolve the issue in the next few days

On Thu, 16 Nov 2023, 9:25 am sakiro, @.***> wrote:

After modify the APT-hunter.py, it;s gone.

— Reply to this email directly, view it on GitHub https://github.com/ahmedkhlief/APT-Hunter/issues/28#issuecomment-1813858945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF43ESGRTUUXDPK73B5MN6TYEWWVVAVCNFSM6AAAAAAZEMGEKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJTHA2TQOJUGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ahmedkhlief commented 1 year ago

i pushed the fix ! please check and let me know . thanks sakiro !

ahmedkhlief commented 9 months ago

Thank you for reporting , Fixed in 3.2 .