• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Running Cuckoo to automate Fog Imaging

    Scheduled Pinned Locked Moved
    General Problems
    2
    3
    516
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Reuban1219
      last edited by

      Not sure if Ill get much help but, Ill hope for the best.
      Im already running FOG server with clients. In total, 5 physical devices connected to each other using a switch. I need to run malware tests on all 4 clients in a sandbox (cuckoo) & make my life easier by automating the image deployment using cuckoo. Ive installed Cuckoo Host. but, I’m struggling to find any guide on the Cuckoo documents on how to configure Fog for the physical.conf files. If anyone here has any links or other sources it would be helpful.

      My set up:
      Fog server- Debian 10.3
      Clients- Win_10, Win_8.1, Win_7, Win_XP

      Additional notes:
      -my clients are not allowed to connect to the internet
      -each client has their own static IP address
      -capture & deploy is working well for all clients
      -Server has two NIC (one to the internet & one to the locally connected to other clients)

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Reuban1219 Didn’t know the Cuckoo project is using FOG. Nice to see. I haven’t used Cuckoo myself and so I am not exactly sure if I can help but I can give it a try.

        Looking at this example config we see that it is trying to act like a user on the web UI. Though this seems to be catered to FOG version 1.2.0 and I would imagine it can’t work with 1.5.8 just the same way.

        # Credentials to access the FOG website. We're using basic screenscraping
        # techniques to programmatically schedule new "image download tasks", i.e., to
        # instruct FOG to make a laptop restore the original image on the next reboot.
        # Note: if you're using FOG to manage your physical machines without the
        # cronjob functionality as per documentation you *will* have to change the
        # following "none" to "localhost" or similar (the "none" is for backwards
        # compatibility where users are still using the cronjob-style tasking, and
        # thus effectively ignore the FOG integration). The FOG functionality has only
        # been tested against the FOG 1.2.0 stable release.
        

        FOG does have an API to do such things but this was added after 1.2.0 was released and I can’t find any hint in the Cuckoo documentation taking about this. So my assumtion is that you’d need to use the very dated FOG 1.2.0 or talk to the Cuckoo developers to see if they are keen to implement using the API or have started doing so already.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          Just found this as well:
          https://forums.fogproject.org/topic/3227/fog-api
          https://github.com/cuckoosandbox/cuckoo/issues/1258

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          240

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project