Currently, the risk of network information insecurity is increasing rapidly in number and level of danger. The method mostly used by hackers today is to attack end to end technology and exploit human vulnerabilities. These techniques include social engineering, phishing, pharming, etc. one of the steps in conducting these attacks is to deceive users with malicious Uniform Resource Locators (URLs). As results, malicious URL detection is of great interest nowadays. there have been several scientific studies showing a number of methods to detect malicious URLs based on machine learning and deep learning techniques. In this paper, we propose a malicious URL detection method using machine learning techniques based on our proposed URL behavior and attributes. moreover, bigdata technology is also exploited to improve the capability of detection malicious URLs based on abnormal behaviour. In short, the proposed detection system consists of a new set of URLs features and behavior, a machine learning algorithm, and a bigdata technology. the experimental results show that the proposed URL attributes and behaviour can help improve the ability to detect malicious URL significantly. This is suggested that the proposed system may be considered as an optimized and friendly used solution for malicious URL detection.