Sign Up

Talk Programming , Career, Mental Health, Talk Personal Finance ❤️‍ Post a query and receive responses ✅

Have an account? Sign In


Have an account? Sign In Now

Sign In

Post a query and receive responses. Ask anything, Ask Mitra ❤️‍

Sign Up Here


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.


Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Ask Mitra

Ask Mitra Logo Ask Mitra Logo

Ask Mitra Navigation

  • Home
  • About Us
  • Find Jobs
  • Blogs
    • Add New Blog !
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Ask a Question
  • Home
  • All Categories
  • Find Jobs
  • Points and Swags
    • Badges and Points
    • Ask Mitra Swags
  • Blog
    • Add New Blog !
  • FAQs
  • Community Members 💓
  • About Us
  • Contact Us
Home| Questions|Q 55713
Next
Answered
Atit.B
Atit.BBeginner
Asked: May 19, 20222022-05-19T19:10:27+05:45 2022-05-19T19:10:27+05:45In: CyberSecurity

SSL certificate on my Beef hook (- AZURE VM PUBLIC IP)

I have used a VM on Microsoft Azure and have set up my beef hook and the UI panel by editing the “config.yaml” located inside Beef folder. I have added a public IP and Port so that I can access my Beef Setup from any device . The OS of my Vm is Debian 11

Basically I have everything setup, it’s working perfectly I just wanted to know if there is any way to get SSL certificate for my hook so that the victim’s browser finds it to be secure. I also tried editing the “config.yaml” such a way that the Beef setup runs on https but since there is no SSL certificate it throws error while running Beef. 

Is ther any way  I can have the SSL certifciate without using anything rather than configuring my Azure VM to have the SSL certificate on the public IP?

Or do I just have to host my Beef Hook and get SSL from the host?

Linode ( a cloud hosting company) makes it really easy to setup the Beef but unfortunately I don’t have access to it.

#beefcybersecuritydebian11
  • 0
  • 2 2 Answers
  • 108 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • How does a hacker hack a CCTV Camera?
    • How much to worry security-wise while building a basic informational site?
    • Network security vs cyber security?
    • Ethical Hacking Resources
    • How can i learn ethical hacking in low end laptop?

    You must login to add an answer.


    Forgot Password?

    Need An Account, Sign Up Here

    2 Answers

    • Voted
    • Oldest
    • Recent
    • Random
    1. Best Answer
      Virtual Wiz Tech Nerd Love to Code | Just a Tech Enthusiast
      2022-05-19T19:33:30+05:45Added an answer on May 19, 2022 at 7:33 pm

      maybe this would help….

       

      https:
      enable: false
      # In production environments, be sure to use a valid certificate signed for the value
      # used in beef.http.public (the domain name of the server where you run BeEF)
      key: “beef_key.pem“
      cert: “beef_cert.pem“

       

      Alternatively, you could put BeEF behind a reverse proxy which uses a trusted certificate.

      Can I inject hook on https sites using only http proxy ( for bypassing https proxy fake certificate )?

      If you can intercept and modify HTTPS traffic with bettercap, then you can inject a <script> tag with the hook. You’ll still run into the same issue that the BeEF certificate is not trusted.

      You could also downgrade every connection from HTTPS to HTTP. This way, both the hooked page and the BeEF hook would be hosted on HTTP.

      #copied_answer

      source::

      https://issueantenna.com/repo/beefproject/beef/issues/2126

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
      • Atit.B Beginner
        2022-05-19T19:53:32+05:45Replied to answer on May 19, 2022 at 7:53 pm

        I was looking for a way to get the SSL through Azure itself by letting the Public IP run on https. Thanks for clearing my doubt, now I can just paste my hook inside a html file which is hosted on a SSL certified domain?

        • 0
        • Share
          Share
          • Share on Facebook
          • Share on Twitter
          • Share on LinkedIn
          • Share on WhatsApp

    Sidebar

    Ask A Question

    Your Favourite Topics

    • Announcements
    • Blockchain
    • Books

        • —Non Tech Books
        • —technical books
    • Business and Entrepreneurship
    • Careers
    • College
    • Content and Blog
    • CyberSecurity
    • Design and Arts
    • Devices and Gadgets
    • Digital Marketing
    • Entertainment

        • —Movies-Series-TV
        • —Music
        • —Sports
    • Events
    • For Admins only.
    • Health

        • —Fitness
    • Money

        • —Personal Finance
        • —Stock Market
    • Operating System

        • —linux
        • —windows
    • Other
    • Paid Internship
    • Programming

        • —AI/ML
        • —APIs
        • —C & C#
        • —Django
        • —Flutter
        • —Go
        • —HTML&CSS
        • —Java
        • —JavaScript
        • —Mobile Apps Development
        • —Node Js
        • —NoSQL
        • —Php
        • —Python
        • —React JS
        • —SQL

    Stats

    • Questions 1k
    • Answers 10k
    • Best Answers 394
    • Users 2k

    Top 6 Members This Month

    Vicky

    Vicky

    • 0 Questions
    • 78 Points
    Sensei
    puppet

    puppet

    • 0 Questions
    • 23 Points
    Beginner
    wtfixair

    wtfixair

    • 0 Questions
    • 22 Points
    Beginner
    Dhanmaya

    Dhanmaya

    • 0 Questions
    • 20 Points
    Beginner
    Riyesh

    Riyesh

    • 0 Questions
    • 20 Points
    Beginner
    pranitkarki

    pranitkarki

    • 0 Questions
    • 20 Points
    Beginner

    Trending Tags

    blockchain c++ career coding College cybersecurity Django Flutter help html javascript laptop laravel linux poll Programming python question react web web development wordpress
    • Popular
    • Answers
    • Rounak Agrawal

      Ask Mitra Udemy Courses Giveaway

      • 76 Answers
    • Subedi Bibek

      The Complete JavaScript Course 2022: From Zero to Expert! Udemy ...

      • 73 Answers
    • Subedi Bibek

      Mega Giveaway at askmitra.com 🔥

      • 69 Answers
    • Sandeep Poudel
      Sandeep Poudel added an answer SOLVED: It was due to unfinished SSL certificate installation January 27, 2023 at 7:11 pm
    • Aashutosh_k
      Aashutosh_k added an answer Software piracy protection system Fingerprint voting system Stock price prediction… January 26, 2023 at 7:37 pm
    • Sangam AKA Ronnie
      Sangam AKA Ronnie added an answer Did you miss my video. https://youtu.be/Wo0NxEivd7A watch at end to… January 24, 2023 at 9:13 pm

    Related Questions

    • Can companies misuse the data they collect from people?

      • 5 Answers
    • What kind of security configuration in this Worldlink Wi-Fi?

      • 2 Answers
    • How does a hacker hack a CCTV Camera?

      • 3 Answers
    • Laptop suggestion please

      • 2 Answers
    • cybersec oppurtunities in nepal

      • 1 Answer

    Explore

    • Home
    • Trending Category
      • Programming
      • Web Development
      • —Mobile Apps Development
      • —Stock Market
      • Business and Entrepreneurship
      • Blockchain
      • College
      • —Personal Finance
      • —HTML&CSS
      • —JavaScript
      • —Python
      • —React JS
      • —Node Js
      • —C & C#
      • Content and Blog
      • Careers
    • All Categories
      • Go to All Categories
      • Health
      • —Go
      • —Flutter
      • Digital Marketing
      • —APIs
      • Devices and Gadgets
    • Find Job and Internships
    • Points and Swags
      • Badges and Points
      • Ask Mitra Swags
    • All Blogs
      • Add New Blog !
    • FAQs
    • Community Members 💓
    • Questions
      • Un Answered
      • New Questions
      • Most Seen Questions
      • Most Answered
      • Trending Questions
    • Tags

    Footer

    Ask Mitra

    Ask Mitra

    Ask Mitra is a social question and answer engine that will assist you in forming a community and connecting with others. Talk about programming, your career, your mental health, and your personal finances. ❤️‍ Post a query and receive responses ✅

    Quick Navigation

    • Ask a Question
    • Home
    • All Categories
    • Find Jobs
    • Points and Swags
      • Badges and Points
      • Ask Mitra Swags
    • Blog
      • Add New Blog !
    • FAQs
    • Community Members 💓
    • About Us
    • Contact Us

    Legal Stuff

    • Terms of use and policy